통계 - Mountains and Valleys (CCO20_day1problem3)