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

int main()
{
  int a,b,n;
  cin>>a>>b>>n;
  n*=1000;
  a=n/a;
  if(n%b==0)
    b=n/b;
  else
    b=n/b+1;
  if(a<b)
    cout<<"UNSATISFIABLE"<<endl;
  else
    cout<<b<<" "<<a<<endl;
}
#include <bits/stdc++.h>
using namespace std;

int main(){
    int a,b,c;
    cin >> a >> b >> c;
    if(c){
        if(a >= b){
            cout << "Takahashi";
        }
        else
            cout << "Aoki";
    }
    else{
        if(b >= a)
            cout << "Aoki";
        else
            cout << "Takahashi";
    }
    cout << '\n';
}