#include using namespace std; int main(){ int n,k,f;cin>>k>>n>>f; int s = k * n; for(int i=0;i>t; s-=t; } cout << (s < 0 ? -1 : s) << endl; }