using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Text.RegularExpressions; class Program { static void Main(string[] args) { int T = int.Parse(Console.ReadLine()); int p = 0; for (int i = 0; i < T; i++) { int X = int.Parse(Console.ReadLine()); if (Math.Abs(X - p) != 1) { Console.WriteLine("F"); return; } } Console.WriteLine("T"); } }