#include using namespace std; int main(){ int n; cin>>n; char p[n]; for(int i=0;i>p[i]; } int s=0,d=1,l=1,u=1,sp=1; for(int i=0;i