31 lines
489 B
C++
31 lines
489 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
|
|
int main(){
|
|
ios::sync_with_stdio(0);
|
|
cin.tie(0);
|
|
|
|
string s, result = "";
|
|
|
|
getline(cin, s);
|
|
for(char& c : s){
|
|
if(c >= 'A' && c <= 'Z'){
|
|
c += 32;
|
|
}
|
|
if(c == 'a' || c == 'e' || c == 'o' || c == 'i' || c == 'u' || c == 'y'){
|
|
continue;
|
|
} else{
|
|
result += ".";
|
|
result += c;
|
|
}
|
|
}
|
|
|
|
cout << result;
|
|
|
|
cout << flush;
|
|
|
|
return 0;
|
|
}
|