n = int(input()) x = list(map(int,input().split())) y = list(map(int,input().split())) xy = set(x) xy.update(y) flag = False while n > 0: if n in xy: n -= 1 continue else: flag = True break if flag: print('Oh, my keyboard!') else: print('I become the guy.')
As per my understanding of the problem desc, I am not missing anything here. I am new here so correct me if I am wrong.
Test case description. Input 3
2 2 3
Participant's output I become the guy.
Jury's answer Oh, my keyboard!
Checker comment wrong answer 1st lines differ — expected: 'Oh, my keyboard!', found: 'I become the guy.'