QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#423196#8365. 重复搬题Diu100 ✓10ms9392kbPython37.8kb2024-05-27 21:30:232024-05-27 21:30:24

Judging History

你现在查看的是最新测评结果

  • [2024-05-27 21:30:24]
  • 评测
  • 测评结果:100
  • 用时:10ms
  • 内存:9392kb
  • [2024-05-27 21:30:23]
  • 提交

answer

print("WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNWSWSWSNWNWNENEENESESESESESNENENESESSWSWSESESWSWSWESESENENENSESSWSWWSWNWNWNSWSWSWSESESEWWNWNWNWNSWSWSWSESESEENENSESESENENENNENWNWNENENWNWNWENESESESNENENWNWNWENENESESSWSWESESESSWSWWSWESESENENESSWSWWNWNWSWSWNWNWNWNWNWSWSWSWSNWNNENENEWNWNWSWSSWSESESWSWSWSESESEENENENESESESSWWSWNWNSWSESEWSWSWNWNWNNSWSWNNENENEWNNWNNENENWNWWSWSNWNNEEESESENEESESENENESESWSSESESENENNESESWSWWSWESESWSWSWNWNWNWNSWSWSWNWNWNSWSESESEESENWNSWSWSESESWSWNWNNENEWNWNWNENENENWNWNENEESESENENENESESESNENWNWWNWSWSWSNWNWNWNSWSSWSESESWSWSESESEWSWSWNWNNWSWNNENENEWNWNWNWNENEENEWNWSWSWSSESESWSWSESEENENESESESENENENSESESWSWSWESESENENNENWNWNENENWNWNWEENESESENENSSSWSWESSWSWSWNWWNSWSWESESESENENENENESSESWSWWSWNWNWSWNNWNWNSWSWSWSESESEWSWNWNWNWNENENWNWNENEENESESENENENWNWENEESESESNENENWNWNWWSWSNWNENENWWNWSWSSWSWSNWNWNWSWSWSESSESESEWSWSWSESESENENENSESESWSWESENENENENWNWNWNENENENWNWEESESESESWSWSESESESENENNWNWNWENENENWNWWSWNWNWSWSNWNWNENWNWEENESESENENENESSESSESWSWSWSWSWESESESESWWNWNSWWSWSWNWNWNSWSWNNENNWNWNENENENESEESENENENENWWNWNWEENESSESESSWSESESWSWSWESESNENENSESWSWSWSWEESESNENNENNWNWNENNWWSWNWNWSWSWSWSNWNNENEWNEENENESESENESESNNWNWNWWSWSSESESWWSWSESESWSWNWNWSWSSWSWNWNNWSWSESESEESWSWESENENENSESENENESESENNNWNENENENWNWNWEESWWSWNWNWWSWNWNWNSWWSSESEENENENENENWNWWNNEWNWNWSWSSWNNWNNENENESESENENSESESNENENEWNNWWNEENWNWWSWSWSWNWNWSWSSESWSESESESEENESESESWSWSWESENENESESEESWSWNWWSNNWNWNNENENENESESENENNWNWNWENENESESESNENENWWNWSWSWNWNWNWWSWSWNWNENEEWNWSSWSSESWSWSESESWSWNWNWNSSWSSEESESENENESENENENENEWNNWNENWNWNENEESSESWSWEENENESESESSWSWESSESENENNENWNWNWNWSWSWNWNENEENEESENENWNWNWWSSWSNWNWWSNWSWSWSESESWSESWWSWWNNSSSEESWSWWESEENENENSEENNWNENENNWWEESESSENENENWNNENENSSESSWSWSWWNSESEESENENENNENNWNWWSWSWSWWNNWWSWNWNENENEWNWWSWSSESESWSSEESENEESESWSENENNNSSEWWNSWWSWSESESWWNWNWNNENENWWNWNWNWSSWSWNNWNENENESESEENENWNWNWNEEESENEESESNEESSWSWSWESESESNENEENNWNEWWSNNWNEENESSESENNESSWSWSWSWSWNWSWSWESESEENNEENENNWESSESSWSWSWEENSSESEWWNNNEENEWNNWWNWSWSWNNENWWSWSWSSWESEEESEENEENNWNNNENNEENSEESSWSWEESNNENNWWSWSWNWWSWNWNENEESESEESESWSSWSWWSWESENENESEENNESESESENENNWNWNWENESESENNWNWEENENWNWSWWSSWNWNWNSSWWSWSWNWNNWNWNSSWSSESESEWSWNWNNNEENENEWNWNNWEEESEENEENSSEENESESEWSWWSWSWWWESESESNNWNENNENENSNEENSSSSESENENENWWSSSWWNNEESNNENESSENENNWWNSSWSWSESESENENNESSEESSESWSWSWSESEEWWNWWNWNNWWSWNWNENENNEWWNWSSWSSESEESWESNEEESENESESESSEESNNNNENENNSNWNWNWWSWWNNWEEENSSSWSWSWEESSEENWNSEESEENNNWNESSWWSWWWSWSWSEESEENENNNNWNNWNNEENEENENEWNWNWSWWNWSWSWEESSWSSWSSWEEESEWSSWSNWWNNENEWNWNWSSEESEEESEESEENEENENNWNWNWENNWEEENNENESESSWEEENENENEWNNWWNSWSWWNWNWSWNWNWNEESNWWNSSSSENEEEENEEESESSWSSESEWWNSSWSSEEEESESESNNENENENNSSWSESESEESWWWNNSWNWNWSWNSSWWSESWWNNWNEWNNENNEEESEENENWNWNENWWNSSSWSWSEESEEENEEENSESWSSESSSWSWSWNNSWNWNWNNSWWNNWEENENNEESEEEESNEENWNWNWSSWNWNWNNEEENNWNWEEEESSEENEENSSWSSEESWSSEESESEWSWEENENENWNWNEENESNNNEEESSESSWWNWNWWSWSWSSWSWWNWNWENEEWWSSWNNWNSSWSEENNESSWESESEENNEESESSSNEEENENSSWNNWSSEWWSSEEWWSESESEWWSNNNEEENEENSEENNWNENENEWNWEEESSESEENENNNWNENSWSSEWSWNSWWNWNNWWSSWSSEENESSEWWSWNWNNNWWSNWNEWNNEEENENEENWWSNWWNNEEWNNEESSSWWWSWNNWWSSEWSWWSWNNENWWWENWNNNENNEEENEEWWNSWSWNNEWNNENESESEESESEENEESSEENNWWNSEEESEENNEESSNEESNNNWNNWWNNSSSEESSSWSWNWWNSSSSWSSESEENSSWSWNSWNSWNNENWNWSWWNNWNNNENESEEESEENENWWWNWWNNEENNSESSWESEEENSESWEENEESENESSEESSWSWNWSNWNWNWENEEEESSWESENSWSSWEENSSEENNENENEESSEESESSSWWNNWWNNWEENNWNNEENNWWSSNWWSWSESWSWNSWNNWWNNNSSESENSWSWSESSNNWWSNWNWNENEEENESEENWWNWEEENEENWNWSWSSSSWSWNNWNWSSEWSSESESWSSESENEESSESEESEENNWEENENSEEEEESEWSWWNSSESENENENNENENWWWNWWSWSWWSNWNNNNEESSWESENENEENENSWSWSWWSWNNEESWWNSSWWNWNNENEENNSESEEENENWNEESNEENENEWNWWWSWNWSNWNENEESESEESSSSWNNWNNWWSSEWSWSWESEENEESSWWNSWSESESWESSWSWNSWNNWNNEWNENNEEESSWWNNSWSWSEEEESESEEENESEEENNENENENSSESEESEENNWSSWWSWSWNNWWNENENENENEENEWNWWSWWNNWSSNWWNNWEENEEENENSESEESSESESWESSWNNNEEESSWSWSWWNWNNENENWNENENNESWWEENEEEENEEESEENEEENNNNWWWWNSWSSESWSWSESSSEESESENENNEENNSSSSEENNENESSWWSWSEWWSNNWWNWNWNEEWWWNWNEEESNENWNNWSSWSWSNNENNEENEEENENESESSESEESESWSWSSWNENEENWNENENNEWWSWWSSWNSSESESEEESENNEEENNNWNNENWNWWSWWWSSWNNNWNNEEESESEESSSWSSSWWWNWWSWSSSWSNNNNWNNNEESENENEEESEEESENNWENWNEEESEESSESWSSSWSSWSSWSWEEENEESSNNNSEEESESSWSWEENWNNEEEENENWNEENNWNNWWSWWSSWSNNENWNWWWSSWSSSWWNSSESESESEESENSWWSEESEEEEENEEESEEESSENNNENEESSSSWSWWNNNNWWSSSEWWWWNWWSNWSSEESSWSSEEENESEEEWWNNNSSESSEEESEENNENNEESSSEEENNNEENNNWEENEWNNNNWWNWWWNSWWNSWWSSSESEESEESEENENWSWWNNNNEEWNNWNNENNENWEEESSESSWWWWNNWWSNNWWWNWWSSNNWWNNNWSNWSSSWWWSSSWEEESSEEESEEENENNNNNEENNWNNENWWEEEEEESSSSNNWWWWWWSESSEESSSSEENNEESSSSWSSSWSSSEEWWWWNSWSWWNNENNEEWWSSSNWWSWSNNNNEESENNWNWWSSSEEESESEWWWNNWNNNENNEENSEESNEENNNEWNNWSNWNWEEESSESSSWWSWWWWSNNSSEESSWWSSWSWNSWEEENEESEEESSWEEENESSSNEENENENWWENESSWWNWNENEESSSWNWNNEESEENEESSSNNEESSSESSWWWWNWNNENNWNNENEEESNWNNEWWWSWWWWNSSEEESSWSSWWNWNNEWWSNNENNWEEESNNWNWWWNNEESEESESSNEENEWNNENEENESEESEEESSSWSEENEESSWWSSWSESESSESESSSWWNNNNWNNWNNEESSWWSSSWNNNEENENWWWWWSSWWNNNWNNNNEEEESEWNWNWNWNNEEEENENEESSWWWWNNNNSSSSSEEESSSSWSNWNNWNWNNNWNWWWNENEEEEEENEWWSWNWWSSESESWSWSSESSESEEEEESEESNNEENNWNWWENNWNNWWSSESESSEENSEENNENNWNSSWWNNWNWNWWSSEEWWWSSEEESSESEENENEEESESESSNNWNWWWNNENNNWNNNNNEEESSESWWSWWNSWWSWSSWSSESWSSWWWNNWWNNNNWWSSSSEEEEEEENNSEEENSSWWNNWNEWWWNNNENENENNEEESEESSSSENEEEESSSSSSWWSWWSSESSSEEEEENNWWNNWWSWWWWWNSSSEEEWWNNENNNEENWNNENENNWWWNEESEENNNWEESEEENNWWWSWWNNNEEESEESSSNNEEENENNWSESESNNWWWWSNEEEESSESEEENNEESSSWWSSWWWNWNNSSEEENSSWWNWNWSSSEESEENEWWSSSWWNNWNNEENENENNNNWSSWWNWWNNNNEEEEEENEESSSSWWWSSESSEENEEENEESSWSESEEEEEESSSWWNSEEEEENSWSWWWWNSWENNNEENEENENNSSSSWWEEESSWWSSESSEESESEENNNENENNEEESWWWSWWNWWWWWNWWSSWWWWSSWWNNNNNNWSWWWNNWNENNNWNNNEENENNESEENEWNNEEEEEWWWWWWENNENEENEESSSSSSSWSSWWWWNNENEENEENNEEESEENNEESSSNWNNNNWWNNNWSSWSSEEESSWSSEESEEEENNNWWSWWNWNNEENEENNEENNNNWWSSWWNWWSWSSSESSESWWNWWSWWWWSSSEEESEEEEESNEESESEEESEENNNSWWWSSSNNNNWSSESESWWSSESEEEWSSSWNNEWNWNNNENENNWWNNWWSSEWWWNNSSESEESSENENEEENNEEESSWSSSSSSWWWNWWNWWWSNNNNWNWNNWNNEWSSSEEENNNENESEEENWWSSEESEENWWWWWNSSSSSWSSSSEEESESENEENNSSESSSWWWWNWNWSWWNNNWNNEEEEENEEESNWWWNWWWNEESSNNNENEEWWNNNNENEEESEEENNEEEEEESSSSSSNNWWNNEESEEENNEESEENWWWWWSSNWNNWWWNNWWNNNNWWWWWSSSESEEENWWNWWNNENNWWNWEESSSSWESESSWNNNEESEESEESSWENEESEENSSEEEENSSWSSSESESESSSESSWWWSWWSSESENWNNNNNENNNNNNWWWENNNEESWWWNWWSWSSSESWSWSEESSEENSWSSEEEEENEEESWWNWNWNNEEEWNNNWWNNEWWNNEENNNENEEEESEEEENNWWNNWWWSSWSEEENNENESSSWSWSWSSEEESSNEESENWWWSWWWNSSWWNWNSWWNSSWWWNNNNNWNNESSSSESWSSSEESSEEENESSEEEESSSEESSWEENEENEWNNEEESSNWWNNENEESWWSSWSSWSSSWSWWNNNNNEEEWWNNNEEENSWWWNNNENESSSWWWWNNEWWWSSWWNWNSSESSWWSNEESSEENWSSEESSWWWSSSEEEEENNEESSSSEENENNNNNENENNWWWNNENENSWWNNNNENWNNWWWWWNWWSWWNWSSEESSEEENSSWSSSSWWWESSWSWWNSWWWNWWNNNNEWWNNNNEENNEEESEEENWWWNWWWWNWNNNEESSENNNWWWSWSWWSSESEESSNEESESSWWWWWSEEEEENEEENNWNSSWWWSSSSESNNWWSSSWSSESSWWEEENNEENEENNWEENENNNEEESEEENEESSWWSSWSSSWWNWNNESSWWWWNNENWSSSSEENEESEESWWWSWSSWSSEESSWWWWWWWSSEEEEEENNWWNNNWWSSSWWSSNNNEEENEESENWNNENNENEEENSEENNEENEESSSNNWWSSWWWWNNNNWNWNNENNEESSEENSWWWWSWWSSSSEENNNNEEEESSSSWSSSSWWWNNWWWNNNENNNNNWWSSSSESSEENEESNNNWWNNNEEEESSWSSSESESSWWSSEEEEEEENNNEWWWSSSWWWWNNWNNEEEESSSEEEENSWSSEEEESSSESSWWNSSWSWWSSSSWWNNNNNNNNWNWWNWWWWSSSEEENEEENNENNENENWNNNEEEESSEESSSWWWSSWWWNNNNNNESSWWWNWNNNWWNNNEWSWWSWSWWNNENNNEWWNNENNENEEESSSEEEENNNWSSSWWSSSESSSEWWWWSSEESEEEEEENNWWNNNENNEEESSWWSSESSSSEENNEWWWSWWWWWNNNNNNEWSSWWWNWNWWNNEEEENNEEEESEENNWSSESSESSWWSSESEEEEENNESWWSWWSSEEESSEESWSSWWSWSWWNNNWWNNNNNNNEEWNNNNWWNNNNNEEEEEWWWWNNNNNNEEESSNNNWNWWWSSSSSWSWWNNNEWWWWWNNENNNEESSSEENNWWWWWWNNNENEEESNNWNNENNEESSSEESEENNEENNWWNNWWNNWWNNEENEESNNNEEEESSSSESSSSSENEENEENENNWWWNNWWWWWSWWNNWNNNWWWWSSWSSSSWSSWSSSSWWWWNNENNNNENEWWWSWSWSSSEENNEESEENWWWNNNNWNNWWSSSWSSWSSWWSWSWWNNNNENENNWWNWNWWESSWWNWWWSSWWNWWSSSESESESSSWWSWSWWWNWWNNNNENEEWWNWWWSSESSEEESSWSWWNWNWSSSESESEENENEEEESSWNNWNNWNNWNWNWWWSSESSWSSSSWWSSWSSWWSSWWNNNNNNEENNENESSEEEESSEEEENNNNWWNWWNNWWWWWENEEENNWNNNWWSSWWSWWWSSEWNNEEESSSSSEESEEENNWNNNWNNENEENEESSSSSEESSSSWWNWWNWWWSSW")

Details

Tip: Click on the bar to expand more detailed information

Subtask #1:

score: 100
Accepted

Test #1:

score: 100
Accepted
time: 9ms
memory: 9260kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #2:

score: 100
Accepted
time: 9ms
memory: 9240kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #3:

score: 100
Accepted
time: 10ms
memory: 9296kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #4:

score: 100
Accepted
time: 8ms
memory: 9300kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #5:

score: 100
Accepted
time: 9ms
memory: 9220kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #6:

score: 100
Accepted
time: 9ms
memory: 9284kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #7:

score: 100
Accepted
time: 3ms
memory: 9296kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #8:

score: 100
Accepted
time: 4ms
memory: 9296kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #9:

score: 100
Accepted
time: 0ms
memory: 9288kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #10:

score: 100
Accepted
time: 3ms
memory: 9296kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #11:

score: 100
Accepted
time: 9ms
memory: 9272kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #12:

score: 100
Accepted
time: 5ms
memory: 9300kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #13:

score: 100
Accepted
time: 0ms
memory: 9308kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #14:

score: 100
Accepted
time: 9ms
memory: 9280kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #15:

score: 100
Accepted
time: 9ms
memory: 9304kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #16:

score: 100
Accepted
time: 9ms
memory: 9392kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #17:

score: 100
Accepted
time: 6ms
memory: 9268kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #18:

score: 100
Accepted
time: 10ms
memory: 9280kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #19:

score: 100
Accepted
time: 4ms
memory: 9264kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct

Test #20:

score: 100
Accepted
time: 4ms
memory: 9284kb

input:



output:

WWNNNNNWWNNNENEEEESSSSEESEENEENWNENENNWWNWWSWSWSWSNWNWNWNWSWSSWSSESESEWSWSWSWSESEESENENESESESENENENSESESWSWSWESESENENNWNNWENENENWNWNWNWENENENESESESENNENWNWNWWSWSWNWNWNWSWSWSNWNWNENENEWNWNWSWSSWSESESWSWSESESEWSWSWNWNWNSWSSESEESENENENSESESESWSWSWSWNWNWNWNSWSWSWNNWNENENENEWNWNNENEENESESESNENENEWNWWNWNW...

result:

ok Correct