num = list(map(int, input().split())) count = 1 for i in num: if count != i: print(count) count += 1 count += 1