package net.ipipip0129.yukicoder.no627; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int cnt = Integer.parseInt(scan.nextLine()); int revnum = 0; boolean isend = false; for (int i = 0; i < cnt; i++) { int num = Integer.parseInt(scan.nextLine()); if ((revnum - num) * (revnum - num) != 1) { System.out.println("F"); isend = true; break; } revnum = num; } scan.close(); if(!isend) { System.out.println("T"); } } }