#include using namespace std; int main() { int n; char c; cin>>c>>n; if(c=='L') { for(int i=1,sp=n-1,st=1;i=1;i--,sp++) { cout<