A = list(map(int, input().split())) print(abs(A[0] - A[1]))