fun main(args: Array<String>) {
	val N = readInt()
	val S = readSet()
	println(if (S.contains("Y")) "Four" else "Three")
}

fun readInt() = readLine()!!.toInt()

fun readSet() :Set<String> = readLine()!!.split(' ').map { it }.toSet()
