#include using namespace std; struct cww{cww(){ios::sync_with_stdio(false);cin.tie(0);}}init; typedef long long LL; templatevoid chmin(T &a,T b){a=min(a,b);} templatevoid chmax(T &a,T b){a=max(a,b);} template istream& operator>>(istream &is,vector &v){ for(auto &it:v)is>>it; return is; } int main(){ string s; cin>>s; if(s=="ham")cout<<"ham"<