#include<bits/stdc++.h> using namespace std; int main() { double a,b,c,h,ll; cin>>a>>b>>c; h=floor(c/b)+1; cout<<h<<endl; ll=floor(c/a*b)-b; cout<<ll<<endl; return 0; }