#include<bits/stdc++.h> using namespace std; int m,t,s; int main() { scanf("%d%d%d",&m,&t,&s); if(s%t != 0) m--; printf("%d",m-s/t); return 0; }