#include using namespace std; int main(){ int T,x,y=0,flag=0; cin >> T; while(T--){ cin >> x; if((y-x)!=1&&(y-x)!=-1){ cout << "F\n"; return 0; } y=x; } cout << "T\n"; return 0; }