#include<bits/stdc++.h> using namespace std; int main () { int n,x,y; cin>>n>>x>>y; int m=n-x*y; printf("%d",m); return 0; }