#include <stdio.h>
#include <string.h>
int main(){
int ans[126];
int n;
char a[1000],b[1000];
int flag,time;
int count=0;
while(scanf("%d",&n)==1&&n!=-1)
{
flag=0;
time=0;
count=0;
scanf("%s %s",a,b);
printf("Round %d\n",n);
for(int i=0;i<126;++i)
ans[i]=0;
for(int i=0;i<(int)strlen(a);++i)
if(a[i]>='a'&&a[i]<='z'&&!ans[a[i]])
ans[a[i]]=1,count++;
for(int i=0;i<strlen(b);++i)
{
if(!ans[b[i]])
{
time++;
if(time>=7)
break;
}
if(ans[b[i]]) ans[b[i]]=0,count--;
//printf("%d\n",count);
if(count==0) break;
}
if(time>=7&&count) puts("You lose.");
else if(time<7&&count) puts("You chickened out.");
else puts("You win.");
}
return 0;
}
請高手替我解惑