i = int(input()) ans = 0 for i in range(i): ans = ans + int(input()) print(ans)