a tourist hike mountain range the hike last n day day tourist note height sea level on ith day height equal integer hi the tourist pick smooth route hike mean consecutive day height change 1 ie 1 n1 inequality hihi11 holdsAt end route tourist raft mountain river note journal wash away Moreover number note distort now tourist wonder maximum height hike help restore maximum possible value maximum height hike determine note distort represent possible height value meet limit hihi11