A, B = map(int, raw_input().split()) print -(-A - B)