#-*- coding:utf-8 -*- if __name__ == "__main__": N = int(input()) ans = 0 for i in range(N): ans += int(input()) print(ans)