#include #define rep(i,a,b) for(int i=a;i<(b);++i) #define erep(i,a,b) for(int i=a;i<=(int)(b);++i) #define per(i,a,b) for(int i=(a);i>(b);--i) #define eper(i,a,b) for(int i=(a);i>=b;--i) #define pb push_back #define mp make_pair #define INF 100100100100 #define MOD 1000000007 #define ALL(x) begin(x),end(x) using namespace std; typedef long long ll; typedef pair Pii; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> t; int a; cin >> a; if (abs(a) != 1) { cout << "F" << endl; return 0; } rep(i, 0, t-1) { int in; cin >> in; int dist = abs(in - a); if (dist != 1) { cout << "F" << endl; return 0; } a = in; } cout << "T" << endl; return 0; }