In = [int(i) for i in input().split()]
res = 0
for i in In:
    res += abs(i)
print(res)