Football match
The national teams of Ukraine and Potokolandia played two football matches against each other. One match took place in Ukraine, and the other in Potokolandia.
In the match held in Ukraine, Ukraine scored goals, while Potokolandia scored goals. In the match held in Potokolandia, Potokolandia scored goals, and Ukraine scored goals.
The winner of the matches is determined by the following criteria:
The team with the higher total number of goals across both matches wins.
If both teams have the same total number of goals, the team with more "away" goals, i.e., goals scored in the opponent's country, wins.
If neither team can be declared the winner based on the above criteria, the result is a draw.
Please determine which team wins.
Input
The first line contains two integers and () — the number of goals scored by Ukraine and Potokolandia, respectively, in the match played in Ukraine.
The second line contains two integers and () — the number of goals scored by Potokolandia and Ukraine, respectively, in the match played in Potokolandia.
Output
Output «U
» if Ukraine wins, «P
» if Potokolandia wins, or «T
» if the result is a draw.
Examples
Note
In the first example, Ukraine scored a total of goals, while Potokolandia scored , so Ukraine wins.
In the second example, both teams scored a total of goals, but Potokolandia scored one "away" goal, thus they win.