#include #include using namespace std; int main() { int a, b, c; cin >> a >> b >> c; a *= b; for(int i=0; i> d; a -= d; } if(a < 0) { a = -1; } cout << a << endl; }