Загрузка данных


x1, x2 = map(float, input().split())
if x2 >= x1:
    distance = x2 - x1 
else:
    distance = x1 - x2 
print(distance)