#include <bits/stdc++.h>
using namespace std;

int main() {
    cin.tie(NULL); 
    ios_base::sync_with_stdio(false);
    int tt=1;
    while(tt--){
        long double a,b,w; cin>>a>>b>>w;
        w*=1000;
        if(w<a || (long long)ceil(w/b)>(long long)(w/a)){
        	cout<<"UNSATISFIABLE";
		}
		else{
			cout<<(long long)ceil(w/b)<<" "<<(long long)(w/a);
		}
    }
    return 0;
}


#include <bits/stdc++.h>
template<class T> inline bool chmin(T&a, T b){if(a > b){a = b; return true;}else{return false;}}
template<class T> inline bool chmax(T&a, T b){if(a < b){a = b; return true;}else{return false;}}
#define ll long long
#define double long double
#define rep(i,n) for(int i=0;i<(n);i++)
#define REP(i,n) for(int i=1;i<=(n);i++)
#define mod (ll)(1e9+7)
#define inf (ll)(3e18+7)
#define eps (double)(1e-9)
#define pi (double) acos(-1)
#define P pair<int,int>
#define PiP pair<int,pair<int,int>>
#define all(x) x.begin(),x.end()
#define rall(x) x.rbegin(),x.rend()
using namespace std;

int main() {
   	ll a, b, w;
    cin >> a >> b >> w;
    ll mx = -1, mn = inf;
    for(ll i = 0; i <= w*1000; i++){
        if(w*1000 < i*a)break;
        if(w*1000 - i*a <= i*(b-a)){
            chmax(mx, i);
            chmin(mn, i);
        }
    }
    if(mn == inf || mx == -1)cout << "UNSATISFIABLE" << endl;
    else cout << mn << " " << mx << endl;
}