#coding=UTF-8 s=input() a=s.split(' ') print(-(-int(a[0])-int(a[1])))