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

#542. Join letters with '-'

You are given a word. Print it with `-` between the letters (example: cat → c-a-t). ### Input One word. ### Output One line.

Examples

Input
racecar
Output
r-a-c-e-c-a-r
Input
scratch
Output
s-c-r-a-t-c-h

💡 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!