프롬프트 없음
5 4 1 2 3 2 4 5 4 5
6
출처: USACO 2012 January Contest, Gold Division Problem 3. Bovine Alliance