# coding:utf-8 N = int(input()) ans = 0 for i in range(N): num = int(input()) ans += num print(ans)