a, b, c = map(int, input().split())
print(a+b+c)
a, b, c = map(int, input().split()) print(a+b+c)
or
a = list(map(int,input().split()))
print(sum(a))