SP9382 CARNIVAL - Complan Carnival

Description

Peet is very excited because he is visiting a carnival for the first time in his life! As luck would have it, the carnival he is visiting today happens to be the largest one in the galaxy. It is known throughout the universe for its gigantic and super-fast anti-gravity Ferris wheels.

Input Format

The first line contains 3 integers N, M and H. The next N lines contain 3 integers each. The (i+1)th line contains integers t\[i\], m\[i\] and h\[i\]. **Output**

Output Format

N/A