545. String Task
0
Easy
Priya has recently started attending programming lessons. In her first lesson, she was given a simple task to write a program. The program should perform the following operations on a given string, which consists of uppercase and lowercase Latin letters:
* Remove all the vowels
* Insert a "." before each consonant
* Replace all uppercase consonants with their corresponding lowercase ones
The program takes a single string as input and returns the processed string as output.
Help Priya complete this easy task.
Input Format
The input consists of a single line containing a string, S.
Output Format
Print the resulting string.
Example
Input
tour
Output
.t.r
Constraints
1 <= s.length <= 104
The input string contains only uppercase and lowercase Latin letters.
The input string contains only uppercase and lowercase Latin letters.
Loading...
View Submissions
Console