#include int keta(int N,int keta){ for(int i =0;i'9' || c<'0')&&c!='-'); const int f=(c=='-')&&(c=getchar()); while(x=x*10-48+c,(c=getchar())>='0'&&c<='9'); return f?-x:x; } int main(void){ int N=read(); int K=read(); int A[N]; int x = 0; for(int i = 0;i<=N;i++){ x+=keta(read(),i); } printf("%d",x); return 0; }