Hemant bhaiya recently started learning unity and made a cool 3-D game. The game is called The Jumping Fog. Here is how the game works.
There are N lilypads in a lake and each lilypad has 3 properties H[i], X[i] and Y[i].
Rules of the game -
After making the game Hemant bhaiya wanted to know that what is the maximum points that a person can score in a particular game and the first person to solve this problem will get a treat by him.
Input Format -
Output Format -
For each test case print the maximum score possible.
Constrains -
Problem Setter - Puneet Rai