#include<iostream> using namespace std; int main() { int c; cin>>c; if(c>30) { cout<<"hot"; } if(c<=30) { cout<<"cold"; } return 0; }