#D7906. Wall Clocks
Wall Clocks
Wall Clocks
Example
Input
2 10 6 4 4 E 6 4 W
Output
2
inputFormat
Input
2 10 6 4 4 E 6 4 W
outputFormat
Output
2
样例
2 10 6
4 4 E
6 4 W
2
Example
Input
2 10 6 4 4 E 6 4 W
Output
2
Input
2 10 6 4 4 E 6 4 W
Output
2
2 10 6
4 4 E
6 4 W
2
By signing up a OpenJudge universal account, you can submit code and join discussions in all online judging services provided by us.