#include int main (void){ //数値の数 int count; scanf("%d", &count); //数値 int number; int all = 0; for (int j = 0; j < count; j ++){ scanf("%d", &number); all += number; } printf("%d\n", all); return 0; }