import java.util.Scanner; public class CountingValleys { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int n,count = 0,countValley = 0,count2 ; String s; Scanner sc = new Scanner(System.in); n = sc.nextInt(); s = sc.next(); for(int i=0;i