CodeLab Academy 📞 9936 6696
← List Python · Level 6: Strings Code · 60 points ← #548 #550 →

#549. Pig Latin

Move the first letter of every word to its end and add `ay` (example: hello world → ellohay orldway). ### Input One line. ### Output One line.

Examples

Input
computer refer noon number mountain keyboard
Output
omputercay eferray oonnay umbernay ountainmay eyboardkay
Input
string garden rocket
Output
tringsay ardengay ocketray

💡 You can solve it with Python, JavaScript or blocks. Read the input line by line with input(). Don't print a question (like input("Number: ")). Print exactly what the output asks for, nothing more.

🔒 You can solve the first 3 problems without an account. Sign up for free to solve this one!