import java.io.*; import java.util.*; public class Solution { public static void main(String[] args) { Scanner s=new Scanner(System.in); int steps=s.nextInt(); char[] seq= s.nextLine().toCharArray(); seq= s.nextLine().toCharArray(); int level=0; int valleys=0; boolean valleyStart=false; //System.out.println("jaja"); for(int i=0;i