The mean proportional between 12 and a number is twice the mean proportional between 8 and 18. Find the number.