프롬프트 없음
9 1 2 3 9 5 6 8 7 4
9
출처: USACO 2017 January Contest, Platinum Problem 3. Subsequence Reversal