cnt = int(input()) a = 0 for i in range(1,cnt + 1): n = int(input()) a += n print(a)