#!/usr/bin/env python n = int(input()) ans = 0 for i in range(n): ans += int(input()) print(str(ans))