using System; using System.Collections.Generic; using System.IO; class Solution { static void Main(String[] args) { int n=Convert.ToInt32(Console.ReadLine()); string steps=Console.ReadLine(); int valleys=0; int elevation=0; for(int i=0;i