from functools import reduce
print(reduce(lambda  x, y: abs(x) + abs(y), list(map(int, input().split()))))