#include<bits/stdc++.h> using namespace std; int main(){ int n,k,m; cin>>n>>k>>m; cout<<n-k*m; return 0; }