#define _USE_MATH_DEFINES #include //cin, cout #include //vector #include //sort,min,max,count #include //string,getline #include //fixed #include //setprecision #include //swap, pair #include //abs(int) #include //sqrt,ceil,M_PI, pow, sin #include //stringstream,getline #include //gcd, accumlate #include //deque #include //randam_device using namespace std; int main() { int T; cin >> T; bool flg = true; int a = 0, temp; for (int i = 0; i < T; i++) { cin >> temp; if (abs(a - temp) != 1) { flg = false; break; } a = temp; } if (flg) { cout << "T" << endl; } else { cout << "F" << endl; } return 0; }