import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc=new Scanner(System.in);
//int n=sc.nextInt();
String x=sc.nextLine().toLowerCase();
char[] ch = x.toCharArray();
char[] q=new char[300];
int qi=0;
for(int i=0;i<x.length();i++)
{
if(ch[i]=='y'||ch[i]=='a'||ch[i]=='e'||ch[i]=='i'||ch[i]=='o'||ch[i]=='u')
continue;
else
q[qi]='.';q[qi+1]=ch[i];
qi+=2;
}
if(q[0]!='.')
System.out.print('.');
for(int i=0;i<qi;i++)
System.out.print(q[i]);
System.out.println();
}
}
118A - String Task
最新推荐文章于 2021-04-26 17:59:26 发布