#include <bits/stdc++.h>
using namespace std;
const int N = 110;
string str;
string final;
int main(){
cin>>str;
for(int i=0;i<str.size();i++){//暴力匹配
if(str[i]!='a'&&str[i]!='e'&&str[i]!='i'&&str[i]!='o'&&str[i]!='u'&&str[i]!='y'&&str[i]!='A'&&str[i]!='E'&&str[i]!='I'&&str[i]!='O'&&str[i]!='U'&&str[i]!='Y'){
if(str[i]>='A'&&str[i]<='Z') str[i] = str[i] + 32;//大小写转换
cout<<"."<<str[i];
}
}
return 0;
}