프롬프트 없음
6 1 1 7 8 10 9 8 12 4 100 50 7
12
출처: USACO 2016 US Open Contest, Silver Problem 1. Field Reduction