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