프롬프트 없음
4 100 200 1 1 4 2 3 3 2 4 0
210
출처: USACO 2016 US Open Contest, Platinum Problem 3. Landscaping