#include<iostream> #include<cmath> using namespace std; int main(){ int cj; cin>>cj; if(cj>30){ cout<<"hot"<<endl; } else{ cout<<"cold"<<endl; } }