n = input().split()
sum = 0
for i in n:
    sum += abs(int(i))
print(sum)