Gabby has 3 empty flasks X, Y and Z. She poured an equal amount of water into each of them. After that, 14 of X was filled with water, 23 of Y was filled with water and 12 of Z was filled with water. What is the ratio of the capacity of flask X to flask Y to flask Z?