#include int main(void) { int K,N,F; scanf("%d%d%d",&K,&N,&F); K*=N; while(F--){ scanf("%d",&N); K-=N; } printf("%d\n",K<0?-1:K); }