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