//interactive ll@N,@M,x=0,y=0,R=1,S=1,c=0,T[2]{0,N-1};char@A[N][N]; REP(2N*N){if(A[y][x]>'.')while(c