프롬프트 없음
5 5 HHGHG 1 2 2 3 2 4 1 5 1 4 H 1 4 G 1 3 G 1 3 H 5 5 H
10110
출처: USACO 2019 December Contest, Silver Problem 3. Milk Visits