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

int main()
{
	int A, B, C;
    cin >> A >> B >> C;
    
     if (A > B && A > C) {
        cout << "To" << endl;
    } else if (B > A && B > C) {
        cout << "Ti" << endl;
    } else if (C > A && C > B) {
        cout << "Te" << endl;
    }
    return 0;
}
