import java.util.*

val sc = Scanner(System.`in`)
val N = sc.nextInt()

fun main(args: Array<String>) {
    val dic = mutableSetOf<String>()
    repeat(N) {
        dic.add(sc.next())
    }
    println(if (dic.count() == 3) "Three" else "Four")
}
