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