azi, ebi = map(int, input().split()) print(abs(azi-ebi))