#include <stdio.h> int main() { int a = 0; int b = 0; while(scanf("%d",&a) != EOF) { b +=a; } printf("%d",b); return 0; }