A, C = map(int, input().split()) if A > C: B = A - C elif A < C: B = C - A print(int(B))