l=list(map(int,input().split())) print(sun(l)-min(l[0],l[1]))