#include #define to edge[i].v #define mp make_pair #define rint register int #define fgx cerr<<"-------------"< pii; void dbg(){cerr<void dbg(A x,B... y){cerr<2&&!win) { for(rint i=1;i<=n;i++) if(c[b[cur][i]]) { cur=b[cur][i]; if(a[cur]) cout<<"lieren\n",win=1; res--,c[cur]=0; break; } } if(!win) cout<<"langren\n"; } return 0; }