#include #include #include using namespace std; int main() { int k, n, f, sum, ans; int a[101]; cin >> k >> n >> f; for(int i=0;i> a[i]; sum += a[i]; } if(k*n >= sum){ ans = k*n -sum; }else{ ans = -1; } cout << ans << endl; return 0; }