#include #include using namespace std; using ll = long long; using ull = unsigned long long; using P = pair; #define repi(i,n) for(int i=0; i<(n); i++) #define repd(i,n) for(int i = n; i >= 0; i--) int main() { int N, x = 0, sum = 0; scanf("%d", &N); repi(i,N) { scanf("%d", &x); sum += x; } printf("%d", sum); return 0; }