newton/solutions/118A.py

9 lines
175 B
Python

s = list(input().lower())
i = ["a", "e", "i", "o", "u", "y"]
s = [c for c in s if c not in i]
for idx, i in enumerate(s):
s[idx] = f".{i}"
print(''.join(c for c in s))