One hundred soldiers form a 10 x 10 square.

From every column, the tallest soldier is chosen, and from these 10 soldiers, the shortest is chosen. His height is X.

At the same time, the shortest soldier is chosen from every row, and from these 10 soldiers, the tallest is chosen. His height is Y.

Compare the heights.