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