There is a set of cards numbered from 1 to N. Within this set a card was lost, determine the number of the lost card based on the remaining cards.
Given an N number, followed by N-1 integer values representing the numbers of the remaining cards, Find and print the number of the lost card.
Example input
5
3
5
2
1
Example output
4
Well this is the exercise, with the help of the comments I got to the following code
num1 = int(input())
conj1 = set(range(1, num1+1))
for i in range(1,num1):
valores1 = int(input())
conj2 =
# "aqui está o problema, quero que o conj2 seja um conjunto
# com todos os numeros digitados em valores1 como fazer isso?"
lost = conj1 ^ conj2