#include using namespace std; int main() { int t, x; int y = 0; bool checkert = true; bool checkerf = false; cin >> t; for (int i = 0; i < t; i++) { cin >> x; if (x == y + 1 || x == y - 1) { checkert = true; } else { checkerf = true; } y = x; } if (checkerf == true) { cout << "F" << endl; } else if(checkert == true) { cout << "T" << endl; } return 0; }