coordinates = input().split() L1 = 0 for i in coordinates: L1 += abs (int(i)) print(str(L1))