i = input("입력 : ").split()

for j in i:
	k = j.replace('E', 'C')
	print(k)