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