#include<bits/stdc++.h>
using namespace std;
using Int = long long;
template<typename T1,typename T2> inline void chmin(T1 &a,T2 b){if(a>b) a=b;}
template<typename T1,typename T2> inline void chmax(T1 &a,T2 b){if(a<b) a=b;}


template<typename T> void drop(const T &x){cout<<x<<endl;exit(0);}

//INSERT ABOVE HERE
signed main(){
  Int a,b,c;
  cin>>a>>b>>c;

  Int odd=0,even=0;
  if(a&1) odd++;else even++;
  if(b&1) odd++;else even++;
  if(c&1) odd++;else even++;

  if(even==3) drop("Tem");
  if(even==2) drop("Tem");
  if(even==1) drop("Hom");
  if(even==0) drop("Hom");

  assert(0);
  return 0;
}

