#include<bits/stdc++.h>
using namespace std;
int arr[110][110];
int main()
{
	int n,m,k,x,y;
	cin>>n>>m>>k;
	cout<<k/m<<" "<<k/(n/2);
	return 0;
}