OFF-ZERO Sequence (Hard)

2 secs 1024 MB
bayashiko's icon bayashiko

testcase-17.txt


入力

出力