#include<bits/stdc++.h> using namespace std; int main() { int s; cin>>s; if(s>30){ cout<<"hot"; }else{ cout<<"cold"; } }