A,B = map(int(input().Split())) if A==B: print ('same') elif AB: print ('KoD')