A,B=map(int,input().split()) a=A*1000 b=B*3600 if a>b: R='KoD' elif b>a: R='blackyuki' else: R='same' print(R)