#include #include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int len; cin>>len; char s[len]; int count=0,hill=0,valley=0,flag=0; cin>>s; for(int i=0;i