#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; scanf(" %d",&n); int level = 0; int valleys = 0; char c; for(int i=0;i