"""
Create a calculator class with init method, add, multi, div, sub methods for two variable arguments(ex, a, b). Ex: c = Calculater(5, 6) c.add() =>11
"""

class calculator:
	
	def __init__(self,a,b):
		self.a=a
		self.b=b
	
	def add(self):
		print a+b
		return
	def multi(self):
		print a+b
		return
	def div(self):
		print a+b
		return
	def sub(self):
		print a+b
		return
c=calculator(a,b)
a=int(input("enter a value"))
b=int(input("enter b value"))

x={1:add,2:multi,3:div,4:sub}
x=1
while(x!=5):
	print("1.addition 2.multiplication 3.division 4.subtraction")
	y=int(input("enter your choice")
	c.x[y]()		



