#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;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCkKewoJaW50IEEsIEIsIEM7CiAgICBjaW4gPj4gQSA+PiBCID4+IEM7CiAgICAKICAgICBpZiAoQSA+IEIgJiYgQSA+IEMpIHsKICAgICAgICBjb3V0IDw8ICJUbyIgPDwgZW5kbDsKICAgIH0gZWxzZSBpZiAoQiA+IEEgJiYgQiA+IEMpIHsKICAgICAgICBjb3V0IDw8ICJUaSIgPDwgZW5kbDsKICAgIH0gZWxzZSBpZiAoQyA+IEEgJiYgQyA+IEIpIHsKICAgICAgICBjb3V0IDw8ICJUZSIgPDwgZW5kbDsKICAgIH0KICAgIHJldHVybiAwOwp9Cg==