# boj, 1001 : a - b, python3
import sys
A, B = map(int,sys.stdin.readline().split())
print(A-B)
# boj, 10998 : a * b, python3
import sys
A, B = map(int,sys.stdin.readline().split())
print(A*B)
https://www.acmicpc.net/problem/1001
https://www.acmicpc.net/problem/10998