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