Ve=[int(i) for i in input().split()]
Su=0
for i in range(len(Ve)):
  Ve[i]=abs(Ve[i])
  Su+=Ve[i]
print(Su)