After looking at a truck with left
or right
) when the vehicle swayed.
With this knowledge, Max wanted to figure out the direction the
Can you help him?
Constraints
Subtask 1 [50%]
Subtask 2 [50%]
Input Specification
The first line will contain an integer,
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
Sample Input 1
Copy
2
left
Sample Output 1
Copy
right
Sample Input 2
Copy
15
right
Sample Output 2
Copy
right
Comments