#include <iostream>
#include <set>
using namespace std;

int main() {
  int n;
  set<char> s;
  cin>>n;
  for (int i = 0; i < n; ++i) {
    char c;
    cin>>c;
    s.insert(c);
  }
  puts(s.size()==3?"Three":"Four");
}
