After looking at a truck with extensions, Max realized that every second extension would move in the same direction (either left
or right
) when the vehicle swayed.
With this knowledge, Max wanted to figure out the direction the extension would sway.
Can you help him?
Constraints
Subtask 1 [50%]
Subtask 2 [50%]
Input Specification
The first line will contain an integer, , the truck's number of extensions.
The second line will contain either left
or right
, representing the direction that the first extension sways.
Output Specification
Output either left
or right
depending on the direction the extension will sway.
Sample Input 1
2
left
Sample Output 1
right
Sample Input 2
15
right
Sample Output 2
right
Comments