프롬프트 없음
3 6 1 1 1 2 2 1 2 2 1 1 1 3 2 3 3 1 1 3 1 2 1 3 2 1
5
출처: USACO 2015 December Contest, Silver Problem 1. Switching on the Lights