For this Question: Given an array in which all numbers except two are repeated once. (i. e. we have 2N+2 numbers and N numbers are occurring twice and remaining two have occurred once). Find those two numbers.First line of input contains a single integer N. The next line of input contains 2*N+2 space separated integers.

Constraints:-
1 < = N < = 10000
1 < = Arr[i] < = 100000000Print the two elements separated by space (print the lower element first).Sample Input:-
2
1 3 4 1 5 3

Sample Output:-
4 5

Sample Input:-
3
1 2 3 5 4 3 2 1

Sample Output:-
4 5, I have written this Solution Code: n=int(input())
l=list(map(int,input().split()))
d={}
for i in l:
	d[i]=d.get(i,0)+1
res=[]
for i,j in d.items():
	if(j==1):
		res.append(i)
	
print(*sorted(res)), In this Programming Language: Python, Now tell me if this Code is compilable or not?