import java.util.*; class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int t = in.nextInt(); String ans = "T"; int[] x = new int[t]; for(int i=0; i 1 || x[i-1] == x[i]) { ans = "F"; break; } } System.out.println(ans); } }