cp/codeforces/946/io/1974d.1.cpin

21 lines
70 B
Text

10
6
NENSNE
3
WWW
6
NESSWS
2
SN
2
WE
4
SSNN
4
WESN
2
SS
4
EWNN
4
WEWE