#include #include #include #include #include using namespace std; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ int n; cin>>n; string hike; cin>>hike; int level; int mountain = 0; int valley = 0; for(int i=0; i