If y varies jointly as a and b and inversely as the square root of c, and y=12 when a=3,b=2, and c=64, find y when a=5,b=2, and c=25.