4 lines
166 B
Python
4 lines
166 B
Python
## Morse code golf
|
|
|
|
print(''.join([("te","mnai","ogkdwrus","cöqzycxbjpälüfvh")[len(i)-1][int(i,2)]for i in input().replace(".","1").replace("-","0").split(" ")]))
|