local n = io.stdin:read("*n") local xp, x = 0, 0 repeat xp = x x = io.stdin:read("*n") if math.abs(x - xp) ~= 1 then break end n = n - 1 until n == 0 print(n == 0 and "T" or "F")