#include int main(void){ char s[64]; scanf("%s", s); printf("%s\n", s); if(s != "ham"){ printf("%sham",s); }else{ printf("%s",s); } }