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