#To read three numbers in three variable and swap first two variable with sum of  first and second , second and third numbers respectively.
a=int(input("Enter Number:"))
b=int(input("Enter Number:"))
c=int(input("Enter Number:"))
a=a+b
b=b+c
print (a)
print (b)

#To read three numbers in three variable and swap first two variable with sum of  first and second , second and third numbers respectively.
a=int(input("Enter Number:"))
b=int(input("Enter Number:"))
c=int(input("Enter Number:"))
a=a+b
b=b+c
print (a)
print (b)

#To read three numbers in three variable and swap first two variable with sum of  first and second , second and third numbers respectively.