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