#include #include #include #include #include #include #include #include #include using namespace std; #define int long long signed main() { int T; cin >> T; vector x(T); for (int i = 0; i < T; i++) { cin >> x[i]; } int pos = 0; for (int i = 0; i < T; i++) { if (abs(pos - x[i]) != 1) { cout << "F" << endl; return 0; } pos = x[i]; } cout << "T" << endl; return 0; }