def piglatin():
	word=list(input("enter word"))
	wordlower=word.lower()

	if vowel(word[0])
			print (word+"ay")

	else:
		i=1
		while (vowel(word[i])==false) and (i<len(word)):
			i+1

	print(word[i:]+word[:i+'ay'])


piglatin()