<filename>Python/Symmetric Difference/Symmetric_difference.py

a,b = [set(input().split()) for _ in rane(4)][1:2] 
print('\n'.join(sorted(a^b,key=int)))
<filename>Python/Symmetric Difference/Symmetric_difference.py

a,b = [set(input().split()) for _ in rane(4)][1:2] 
print('\n'.join(sorted(a^b,key=int)))