import std.stdio;
import std.range;
import std.array;
import std.algorithm;
import std.string;
import std.conv;

void main(){
    string[] inputs = readln.chomp.split;
    writeln(solve(inputs));
}

string solve(in string[] inputs){
    foreach(color; inputs) {
        if(color == "Y"){
            return "Four";
        }
    }
    return "Three";
}