#include using namespace std; typedef long long ll; int main() { int k, n, f; cin >> k >> n >> f; int tot = k*n; for (int i = 0; i < f; i++) { int a; cin >> a; tot -= a; } if (tot < 0) puts("-1"); else cout << tot << endl; return 0; }