fun run(): String {
	val num = readLine()!!.toInt()
	val list = readLine()!!.split(Regex("\\s"), num)
	list.forEachIndexed { i, it ->
		if (it == "Y") {
			return "Four"
		}
	}
	return "Three"
}

fun main(args: Array<String>) {
	println(run())
}