unittest
{
	assert( [ "6", "G W Y P Y W" ].parse.expand.solve == "Four" );
	assert( [ "9", "G W W G P W P G G" ].parse.expand.solve == "Three" );
	assert( [ "8", "P Y W G Y W Y Y" ].parse.expand.solve == "Four" );
}



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

void main()
{
	stdin.byLineCopy.parse.expand.solve.writeln;
}

auto parse( Range )( Range input )
if( isInputRange!Range && is( ElementType!Range == string ) )
{
	auto n = input.front.strip.to!( long );
	input.popFront;
	auto ss = input.front.split.to!( string[] );
	return tuple( ss );
}

auto solve( string[] ss )
{
	return ( ss.sort().uniq.count == 3 ) ? "Three" : "Four";
}
