1#Calculator in python
2#No modules required
3qus = input('')
4if(qus=='ADDITON'):
5 no1 = int(input())
6 no2 = int(input())
7 print(no1+no2)
8
9if(qus=='MULTIPLICATION'):
10 no1 = int(input())
11 no2 = int(input())
12 print(no1*no2)
13
14if(qus=='DIVISION'):
15 no1 = int(input())
16 no2 = int(input())
17 print(no1/no2)
18
19if(qus=='SUBTRACTION'):
20 no1 = int(input())
21 no2 = int(input())
22 print(no1-no2)