array = [int(i) for i in input().split()] summa = 0 for j in array: summa += abs(j) print(summa)