Wendy has 3 empty jugs H, J and K. She poured an equal amount of tea into each of them. After that, 23 of H was filled with tea, 12 of J was filled with tea and 16 of K was filled with tea. What is the ratio of the capacity of flask H to flask J to flask K?