# -*- coding: utf-8 -*- a=map(int,raw_input().split(' ')) print -(-a[0]-a[1])