#include <stdio.h>

int main(){
	char str[50];
	scanf("%s",str);
	
	printf("%sham",str);
}