a, b = io.read("*n", "*n") print(math.abs(a - b))