a=int(input('enter the 1num'))
b=int(input('enter the 2 num'))
temp=a
a=b
b=temp
print('value of num1 is',a)
print('value of num2 is',b)

# 2nd approach
#(a,b)=(b,a)

#3rd approch
# a=a+b
# b=a-b
# a=a-b