#include int main() { int N; std::cin >> N; long A[N],amount=0; for (int i = 0; i < N; i++) { std::cin >> A[i]; amount += A[i]; } std::cout << amount << std::endl; return 0; }