input_nums = set([int(e) for e in input().split()]) one_to_ten = set([e for e in range(1, 11)]) ans = input_nums.difference(one_to_ten) print(ans)