#include using namespace std; typedef long long ll; typedef pair P; #define REP(i,n) for(ll i=0;i> N >> S; ll c=0; REP(i,N){ if(S[i]=='x'){ if(c%2==0){ c++; } else{ continue; } } else{ if(c%2==1){ c++; } else{ continue; } } } ll x=N-c; if(x%2==0){ cout << "Yes" << endl; REP(i,N) cout << 'R'; cout << endl; } else{ if(N==1){ cout << "No" << endl; } else{ cout << "Yes" << endl; cout << 'L'; REP(i,N-1) cout << 'R'; cout << endl; } } return 0; }