package yukicoder.No627; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int T = in.nextInt(); int now = 0; String ans = "T"; for (int i = 0; i < T; i++) { int X = in.nextInt(); if (now+1 == X || now-1 == X) { now = X; } else { ans = "F"; } } System.out.println(ans); } }