#include int main(void) { char n[51]; scanf("%s", n); if(strcmp(n, "ham") != 0){ printf("%s", n); } printf("ham\n"); return 0; }