#include #include #include #include #include #include typedef int32_t i32; typedef int64_t i64; #define MAX(a,b) ((a) > (b) ? (a) : (b)) #define MIN(a,b) ((a) < (b) ? (a) : (b)) #define ABS(a) ((a) > (0) ? (a) : -(a)) void run (void) { i32 n; scanf ("%" SCNi32, &n); i64 sum = 0; while (n--) { i64 a; scanf ("%" SCNi64, &a); sum += a; } printf ("%" PRIi64 "\n", sum); } int main (void) { run (); return 0; }