#include #define MAXN 100001 using namespace std; struct node{ int x,y; }; node ones[MAXN],beg; int n,m; int main(){ srand(71); freopen("note.in","r",stdin); freopen("note.out","w",stdout); cin>>n>>m; int ind=0; int g=n*m; int br=0; for(int i=0;i>c; if(c=='1'){ ones[ind].x=i1; ones[ind].y=i; br++; }else if(c=='L'){ beg.x=i1; beg.y=i; } } } int sb=beg.x+beg.y; if(br1) cout<<"L\n"; else cout<<"L\n"; }else{ //cout<<"vlizam\n"; int ans=rand()%120; if(ans%5>1) cout<<"K\n"; else cout<<"K\n"; } return 0; }