o=[] for m in raw_input().replace(" ","/ /").split("/"):o+=" abcdefghijklmnopqrstuvwxyz.,"[" |.-|-...|-.-.|-..|.|..-.|--.|....|..|.---|-.-|.-..|--|-.|---|.--.|--.-|.-.|...|-|..-|...-|.--|-..-|-.--|--..|.-.-.-|--..--".split("|").index(m)] print"".join(o)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).