#Variable Declaration and Initialization
a = int(raw_input(""))
b = int(raw_input(""))
#Calculation
sum1 = a + b
product = a * b
#Since sum is a keyword in python, sum1 is used
#Output
print sum1, product
#Variable initialization
a = int(raw_input("Enter Value to A : "))
b = int(raw_input("Enter Value to B : "))
#Calculation
sum1 = a + b
product = a * b
#Since sum is a keyword in python, sum1 is used
#Output
print "SUM = ",sum1,"\nPRODUCT = ", product
import sys
#Variable Initialization
f = int(raw_input("Degree fahrenheit ? "))
#Calculation
c = 5.0/9.0 * (f-32)
#Output
sys.stdout.write("Degree centigrade = %6.2f"%(c))
import sys
import math
#Variable Initialization
a = int(raw_input("Enter three sides : "))
b = int(raw_input("Enter three sides : "))
c = int(raw_input("Enter three sides : "))
#Calculation
s = (a+b+c)/2
area = math.sqrt(s * (s-a) * (s-b) * (s-c))
#Output
sys.stdout.write("Area of Triangle = %6.2f Sq.units"%(area))
#Variable Initialization
ch = raw_input("Enter a character : ")
#Output
sys.stdout.write("\n\nASCII value of %c is %u"%(ch,ord(ch)))
sys.stdout.write("\nPress any key to stop...")
import sys
#Variable initialization
sno = raw_input("Enter service number : ")
pmr = int(raw_input("\nPrevious month reading ? "))
cmr = int(raw_input("\nCurrent month reading ? "))
#Calculation
units = cmr - pmr
amt = units * 1.50
#Output
sys.stdout.write("\n Electricity Bill")
sys.stdout.write("\n ________________")
sys.stdout.write("\nService No. %s"%(sno))
sys.stdout.write("\nUnits Consumed : %d"%(units))
sys.stdout.write("\nElectricity Charges Rs. %0.2f"%(amt))
import sys
#Variable Initialization
a = int(raw_input("Enter value to A : "))
b = int(raw_input("Enter value to B : "))
#Calculation
temp = a
a = b
b = temp
#Output
sys.stdout.write("\n\nValue of A = %d"%(a))
sys.stdout.write("\nValue of B = %d"%(b))