Professional Documents
Culture Documents
a = int(input())
b = int(input())
c = int(input())
if c == 1:
print(a+b)
elif c == 2:
print(a-b)
elif c== 3:
print(a*b)
elif c == 4:
if a > b:
print(a/b)
else:
print(b/a)
else:
print("Wrong Input")
b = int(input())
c = int(input())
if c == '1':
print(a+b)
elif c == '2':
print(a-b)
print(a*b)
elif c == '4':
if a > b:
print(a/b)
else:
print(b/a)
else:
print("Wrong Input")