arr = list(map(lambda x: int(x), input().split()))
norm = 0
for i in arr:
    norm = norm + abs(i)

print(norm)