#include #include #include using namespace std; int main() { int a,b,c; cin >> a >> b >> c; cout << c/b << " "; cout << c/a << endl; }