using System; using System.Linq; using System.Collections.Generic; class P { static void Main() { int a = int.Parse(Console.ReadLine()); int last = 0; for (int i = 0; i < a; i++) { if(Math.Abs(int.Parse(Console.ReadLine()) - last) != 1) goto end; } Console.WriteLine("T"); return; end:; Console.WriteLine("F"); } }