import functools input() print(functools.reduce(lambda a,b:a+b,map(int,input().split())))