After Max successfully completed his useless List II Communication credit last term, he lost his sense of direction.
He only remembers the direction he was facing originally,
Can you tell Max what direction he is facing after all of those turns?
Constraints
N
, S
, E
, or W
.
Input Specification
The first line will contain
The second line will contain
The third line will contain
Output Specification
Output the direction after all the turns have been completed.
Sample Input 1
Copy
S
2
1
Sample Output 1
Copy
E
Sample Input 2
Copy
N
5
0
Sample Output 2
Copy
W
Comments