#include<bits/stdc++.h> using namespace std; int main(){ int n; cin>>n; string str; cin>>str; int lcont=0,rcont=0; for(auto c:str){ if(c=='L') lcont++; if(c=='R') rcont++; } int tmp = rcont-lcont; while(tmp<0) tmp+=4; while...