CodeLab Academy 📞 9936 6696
← List Python · Level 9: Functions and dicts Code · 90 points ← #832 #834 →

#833. To Morse code

You get a word made of small Latin letters. Print the Morse code of each letter, separated by spaces. Code: a=.-, b=-..., c=-.-., d=-.., e=., f=..-., g=--., h=...., i=.., j=.---, k=-.-, l=.-.., m=--, n=-., o=---, p=.--., q=--.-, r=.-., s=..., t=-, u=..-, v=...-, w=.--, x=-..-, y=-.--, z=--.. ### Input One word. ### Output One line.

Examples

Input
madam
Output
-- .- -.. .- --
Input
string
Output
... - .-. .. -. --.

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