문제 이름 그대로 valley를 세서 응답하면 된다문제에서 정의한 mountain, valley는 다음과 같다mountain : sea level(해발고도)에서부터 위로 갔다가 해발고도로 내려오는 것valley : sea level에서부터 아래로 내려갔다가 해발고도로