#include #include int main(int argc,char *argv[]) { int i,j; char turns[1024]="R",append[1024],tmp[1024]; for(i=0;i