# No.353 ヘイトプラス a, b = [int(i) for i in input().split()] a *= -1 print(abs(a - b))