이제 거의 다 왔어요!!
3
31 0 1 -1 0 1 1 -1 0 0 -1 1 0 -1 1 1 -1 0 0 -1 1 1 1 1 -1 0 0 0 1 -1 1 0
148 1 1 -1 0 0 1 0 -1 1 0 0 0 -1 1 0 -1 1 0 1 -1 0 0 -1 1 1 -1 0 0 -1 1 0 1 0 -1 0 0 0 1 -1 1 0 1 -1 1 0 -1 1 0 0 -1 1 1 0 -1 0 1 0 -1 1 0 -1 0 1 -1 1 1 0 -1 0 1 0 1 -1 1 1 1 -1 0 0 -1 0 0 0 -1 0 1 1 0 -1 1 0 -1 0 0 -1 1 0 -1 1 0 -1 0 0 -1 1 1 -1 0 1 0 -1 0 0 0 -1 1 0 0 -1 0 0 -1 0 1 -1 0 0 -1 1 0 -1 0 0 -1 0 0 0 0 0 -1 1 1 -1 1 1 -1 0 0
31 0 1 -1 0 1 1 -1 0 0 -1 1 0 -1 1 1 -1 0 0 -1 1 1 1 1 -1 0 0 0 1 -1 1 0
입력했을 때 첫번째와 세번째 결과가 똑같아야 합니다