numbers = input().split() a = 0 for i in numbers: a += abs(int(i)) print(a)