a = integer(raw_input())
b = integer(raw_input())
a-b