#include int main() { char ch[1000000]; int flag=0,valley=0,v=0,m=0;long int n,i; scanf("%ld",&n); scanf("%s",ch); for(i=0;i