def main():
    numbers_to_ten = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
    input_list = list(map(int, input().split()))
    [print(n) for n in numbers_to_ten if n not in input_list]

    
if __name__ == "__main__":
    main()