num1=10
num2=20


print("value b4 swapping",num1,num2)

"""
temp=num1 #temp=10
num1=num2#num1=20

num2=temp#num2=10
"""


num1=num1+num2 #num1=10+20=30
num2=num1-num2 #num2=30-20=10
num1=num1-num2 #num1=30-10=20

print("values after swapping",num1,num2)
