118A.md (1239B)
1 Source: https://codeforces.com/problemset/problem/118/A 2 3 A. String Task 4 5 time limit per test 6 7 2 seconds 8 9 memory limit per test 10 11 256 megabytes 12 13 input 14 15 stdin 16 17 output 18 19 stdout 20 21 Petya started to attend programming lessons. On the first lesson his task was to write a simple program. The program was supposed to do the following: in the given string, consisting if uppercase and lowercase Latin letters, it: 22 23 * deletes all the vowels, 24 * inserts a character "." before each consonant, 25 * replaces all uppercase consonants with corresponding lowercase ones. 26 27 Vowels are letters "A", "O", "Y", "E", "U", "I", and the rest are consonants. The program's input is exactly one string, it should return the output as a single string, resulting after the program's processing the initial string. 28 29 Help Petya cope with this easy task. 30 31 Input 32 33 The first line represents input string of Petya's program. This string only consists of uppercase and lowercase Latin letters and its length is from 1 to 100, inclusive. 34 35 Output 36 37 Print the resulting string. It is guaranteed that this string is not empty. 38 39 Examples 40 41 Input 42 43 ``` 44 tour 45 ``` 46 47 Output 48 49 ``` 50 .t.r 51 ``` 52 53 Input 54 55 ``` 56 Codeforces 57 ``` 58 59 Output 60 61 ``` 62 .c.d.f.r.c.s 63 ``` 64 65 Input 66 67 ``` 68 aBAcAba 69 ``` 70 71 Output 72 73 ``` 74 .b.c.b 75 ```