import java.util.Scanner;

public class StringTask {

	public static char[] VOWELS = {'a', 'i', 'y', 'u', 'e', 'o'};

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String string = scanner.next();

		solve(string);
	}

	public static void solve(String string) {
		string = string.toLowerCase();
		String result = string;

		//hilangkan vowel
		for (int i = 0; i < string.length(); i++) {
			char currentChar = string.charAt(i);
			if (isVowel(currentChar)) {
				result = result.replace(Character.toString(currentChar), "");
			}
		}

		for (int i = 0; i < result.length(); i++) {
			System.out.print("." + result.charAt(i));
		}
		System.out.println();
	}

	public static boolean isVowel(char c) {
		boolean result = false;
		for (char vowel : StringTask.VOWELS) {
			if (c == vowel) {
				result = true;
			}
		}
		return result;
	}

}

import java.util.Scanner;

public class Beta
{
	public static void main(String[] args)
    {
        Scanner reader = new Scanner(System.in);
        String word = reader.next();
        word = word.toLowerCase();
        word = word.replaceAll("[aeiouy]", "");
        StringBuilder builder = new StringBuilder(word);
        for(int i=0; i<builder.length(); i+=2)
        {
            builder.insert(i, '.');
        }
        System.out.println(builder);
    }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.math.BigInteger;
import java.util.*;
import java.util.StringTokenizer;

public class CodeForcesQues {

	public static void main(String[] args)throws IOException,NumberFormatException {
		try {
			FastScanner sc=new FastScanner();
			String s=sc.next().toLowerCase();
			for(int i=0;i<s.length();i++) {
				char ch=s.charAt(i);
				if(ch=='a'||ch=='e'||ch=='e'||ch=='i'||ch=='o'||ch=='u'||ch=='y') {
					continue;
				}
				else {
					System.out.print("."+String.valueOf(ch));
				}

			}
			System.out.println();
		}
		catch(Exception e) {
			return;
		}

	}
	public static class FastScanner {
		BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st=new StringTokenizer("");
		String next() {
			while (!st.hasMoreTokens())
				try {
                                      st=new StringTokenizer(br.readLine());
                              } catch (IOException e) {}
			return st.nextToken();
		}

		int nextInt() {
			return Integer.parseInt(next());
		}
		long nextLong() {
			return Long.parseLong(next());
		}

	}
}

import java.io.*;

public class StringTask {

	public static void main(String[]args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder line = new StringBuilder(br.readLine().toLowerCase());

		for(int i = 0; i < line.length(); i++) {
			char c = line.charAt(i);
			if(c == 'a' || c == 'e' || c == 'o' || c == 'i' || c == 'u' || c == 'y')  {
				line.deleteCharAt(i);
				i--;
			}
		}

		int l = line.length();
		for(int i = 0; i < l; i++) {
			line.insert(i*2, '.');
		}

		System.out.println(line);
 	}
}

import java.io.*;
import java.util.*;

public class StringTask {
    public static void main(String[] args) throws IOException {
        BufferedReader f = new BufferedReader(new InputStreamReader(System.in));
        String s = f.readLine().toLowerCase();
        String r = "";
        String vowels = "aeiouy";
        for (int i = 0; i < s.length(); i++)
            if (vowels.indexOf(s.charAt(i))<0)
                r += "."+s.substring(i,i+1);
        System.out.println(r);
    }
}

import java.util.*;
public class Vowels {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		String word=input.next();
		word=word.toLowerCase();
		String s="";
		boolean b;
		for(int i=0;i<word.length();i++){
			b=(word.charAt(i)=='a'|| word.charAt(i)=='o'||word.charAt(i)=='y'
					|| word.charAt(i)=='e'|| word.charAt(i)=='u'|| word.charAt(i)=='i');
				if(b){
					s+="";
				}
				else{
					s+="."+word.charAt(i);
				}

				}

				System.out.print(s);

				input.close();

}}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Main {

	public static void main(String[] args)
	{
		class MyScanner {
			   BufferedReader br;
			   StringTokenizer st;

			   public MyScanner() {
			      br = new BufferedReader(new InputStreamReader(System.in));
			   }

			   String next() {
			      while (st == null || !st.hasMoreElements()) {
			         try {
			            st = new StringTokenizer(br.readLine());
			         } catch (IOException e) {
			            e.printStackTrace();
			         }
			      }
			      return st.nextToken();
			   }

			   int nextInt() {
			      return Integer.parseInt(next());
			   }

			   long nextLong() {
			      return Long.parseLong(next());
			   }

			   double nextDouble() {
			      return Double.parseDouble(next());
			   }

			   String nextLine(){
			      String str = "";
			      try {
			         str = br.readLine();
			      } catch (IOException e) {
			         e.printStackTrace();
			      }
			      return str;
			   }

			}

		MyScanner sc = new MyScanner();
		PrintWriter pw = new PrintWriter(System.out, true);

		String line = sc.nextLine();
		line = line.toLowerCase();

		for(int i=0;i<line.length();i++)
		{
			if(((int)line.charAt(i) != 97) && ((int)line.charAt(i) != 101) && ((int)line.charAt(i) != 105) &&  ((int)line.charAt(i) != 111) && ((int)line.charAt(i) != 121) && ((int)line.charAt(i) != 117))
				pw.print("." + line.charAt(i));
		}

		pw.close();
	}

}

import java.util.Scanner;
public class stringtask
{
	public static void main(String args[])
	{
		Scanner obj = new Scanner(System.in);
		String s = obj.nextLine();
		String str =s.toLowerCase();
		for(int i=0;i<str.length();i++)
		{
			char c= str.charAt(i);
			if(c==str.charAt(0))
			{
				if( c=='a'||  c=='e'||  c=='i'||  c=='o'||  c=='u' || c=='y')
				{
				}
				else
				{
					System.out.print("."+c);
				}
			}
			else
			{

			        if( c=='a'|| c=='e'|| c=='i'|| c=='o'|| c=='u'|| c=='y')
				{
					char tmp =str.charAt(i-1);
					if(tmp=='a'|| tmp=='e'|| tmp=='i'|| tmp=='o'|| tmp=='u'||tmp=='y')
					{

					}
				}
				else
				{
					System.out.print("." + c);
				}
			}
		}
	}
}

import java.util.Scanner;
public class Main{
  public static void main(String args[]){
  Scanner scan = new Scanner(System.in);

  String s = scan.next().toLowerCase().replaceAll("[aeiouyAEIOUY]", "");

  char c[] = s.toCharArray();
  for(int i=0; i<c.length; i++){
    System.out.print(".");
  System.out.print(c[i]);
  }
  System.out.println();
  }
}

import java.util.*;
public class String_Task {

    public static void main(String[] args) {
       Scanner in = new Scanner(System.in);
       StringBuilder out = new StringBuilder();
       String s = in.next().toLowerCase();
       // System.out.println("s="+s);
       //"A", "O", "Y", "E", "U", "I"
        for (int i = 0; i < s.length(); i++) {
            if(s.charAt(i)=='a'||s.charAt(i)=='o'||s.charAt(i)=='y'||s.charAt(i)=='e'||s.charAt(i)=='u'||s.charAt(i)=='i'){
                s =s.replace(s.charAt(i), '*');
            }
        }
        for (int i = 0; i < s.length(); i++) {
            if(s.charAt(i)=='*'){
               s =  s.replace("*", "");
            }
        }

        for (int i = 0; i < s.length(); i++) {

            out.append("."+s.charAt(i));
        }
        out.append("\n");
        System.out.print(out);
    }

}

import java.util.Scanner;

public class hello {

	public static void main(String[] args) {
        String s;
        String temp="";
        Scanner cin = new Scanner(System.in);
           s=cin.next();
           char c;
           s=s.toLowerCase();
           for(int i=0;i< s.length();i++ ){

        	   if("aiouye".indexOf(s.charAt(i))==-1){
        		  temp+='.';
        		  temp+=s.charAt(i);
        	   }
           }
           System.out.println(temp);
	}

}

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

/**
 * Code15
 */
public class Code15 {
    public static Boolean isVovel(char ar) {
        return ar=='a' || ar=='e' || ar=='i' || ar=='o' || ar=='u' || ar == 'y' ;
    }
    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        char [] ar= sc.next().toLowerCase().toCharArray();

        for (char c : ar) {
            if(!Code15.isVovel(c))
            System.out.print('.'+ String.valueOf(c));
        }

    }
}

import java.util.*;
public class S
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        char a[]=new char[100];
        String ch=sc.next();
        int n=ch.length();
        for(int i=0;i<n;i++)
        {
            a[i]=ch.charAt(i);
        }
        for(int i=0;i<n;i++)
        {
            if(a[i]=='a' || a[i]=='A'|| a[i]=='e'|| a[i]=='E' || a[i]=='i'|| a[i]=='I'|| a[i]=='o'|| a[i]=='O' || a[i]=='u'|| a[i]=='U' || a[i]=='y'|| a[i]=='Y')

                System.out.print("");
                else
                {
                   char x=a[i];
                   char y=Character.toLowerCase(x);
            System.out.print("."+y);
                }

        }
    }
}

import java.awt.datatransfer.SystemFlavorMap;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        String word = sc.next().toLowerCase();

        for (int i = 0; i < word.length(); i++) {

            if(!isVowel(word.charAt(i))) System.out.print("."+word.charAt(i));

        }

    }

    private static boolean isVowel(char charAt) {
         char [] listOfVowels = new char[6];
        listOfVowels[0] = 'a';
        listOfVowels[1] = 'e';
        listOfVowels[2] = 'i';
        listOfVowels[3] = 'o';
        listOfVowels[4] = 'u';
        listOfVowels[5] = 'y';

        for (int i = 0; i < listOfVowels.length ; i++) {
            if(charAt == listOfVowels[i]) return true;
        }
    return false ;
    }
}

import java.util.Scanner;

public class StringTask {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String inputString = sc.nextLine();
        StringBuilder result = new StringBuilder();
        inputString = inputString.toLowerCase();
        inputString.chars().mapToObj(i-> (char) i).forEach(c -> {
            switch (c) {
                case 'a':
                case 'e':
                case 'i':
                case 'o':
                case 'u':
                case 'y':
                    break;
                default:
                    result.append("."+c);
            }
        });
        System.out.println(result);
    }

}

import java.util.Scanner;

public class CodeForces {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String w = sc.nextLine().toLowerCase();
        int n=w.length();
        StringBuilder sb = new StringBuilder();
        for (int i=0;i<n;i++){
            if ("aeiouy".contains(Character.toString(w.charAt(i)))){
                continue;
            }
            else{

                sb.append('.');
                sb.append(w.charAt(i));
            }
        }
        System.out.println(sb);

    }

}

import java.util.*;
import java.io.*;

public class a {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		BufferedWriter out = new BufferedWriter(new OutputStreamWriter(System.out));

		String line = in.readLine();
		for (int i = 0; i < line.length(); i++) {
			char nextChar = Character.toLowerCase(line.charAt(i));
			if (nextChar == 'a' || nextChar == 'e' || nextChar == 'i' || nextChar == 'o' || nextChar == 'u' || nextChar == 'y') {
				continue;
			} else {
				out.write('.');
				out.write(nextChar);
			}
		}

		out.newLine();
		out.flush();
		in.close();
		out.close();
	}
}

import java.util.*;
public class StringT{

    static public void main(String [] args)
{
    Scanner in = new Scanner(System.in);
    String s = in.next();                //Read a string from stdin
    s = s.replaceAll("[aoyeuiAOYEUI]", "");    //Remove all vowels including the letter 'y'
    s = s.replaceAll("(.)", ".$1");      //Insert a '.' character before each character
    s = s.toLowerCase();                 //Replace all uppercase consonants with
                                             //corresponding lowercase ones.
    System.out.println(s);               //Print string to stdout
    in.close();
}

}

import java.io.*;
public class A
{
    public static void main(String[] args)throws IOException
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String a=br.readLine();
        String s="";
        for(int i=0;i<a.length();i++)
        {
            if(a.charAt(i)=='A'||a.charAt(i)=='E'||a.charAt(i)=='I'||a.charAt(i)=='O'||a.charAt(i)=='U'||a.charAt(i)=='Y'||a.charAt(i)=='a'||a.charAt(i)=='e'||a.charAt(i)=='i'||a.charAt(i)=='o'||a.charAt(i)=='u'||a.charAt(i)=='y')
            {
                continue;
            }
            else
            {
                s+='.';
                if(a.charAt(i)>=65 && a.charAt(i)<=90)
                {
                    s+=(char)(a.charAt(i)+32);
                }
                else
                s+=a.charAt(i);
            }
        }
        System.out.println(s);
    }
}

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner What=new Scanner(System.in);
        String Who=What.next().toLowerCase();
        for (int i = 0; i <Who.length(); i++) {
            if(Who.charAt(i)=='a'||Who.charAt(i)=='o'||Who.charAt(i)=='y'||Who.charAt(i)=='e'||Who.charAt(i)=='u'||Who.charAt(i)=='i')
                continue;
            else
                System.out.print("."+Who.charAt(i));}
    }
}

import java.util.Scanner;

public class Operationtwo {

	public static void main(String[] args) {
		// TODO Auto-generated method stub

		        Scanner s = new Scanner(System.in);
		       String m= s.nextLine();
		       System.out.println(k(r(m.toLowerCase())));
		    }
		     public static String k(String a){
		   String b=".", c="";
		    for(int i=0;i<a.length();i++){
		        c=c+b+a.charAt(i);
		        }
		          return c;
		}
		     public static String r(String a){
		   String b="", c ;
		   StringBuilder sb = new StringBuilder(a);
		       for(int i=0;i<sb.length();i++){
		            if(sb.charAt(i)=='a'||sb.charAt(i)=='e'||sb.charAt(i)=='i'
		                ||sb.charAt(i)=='o'||sb.charAt(i)=='u' ||sb.charAt(i) == 'y'){
		             sb.setCharAt(i, '\0');
		                }

		          c= sb.toString();
		           if(Character.isLetter(c.charAt(i)))
		               b=b+ c.charAt(i);
		        }
		          return b;

	}

}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author sarah
 */
public class Main {

    /**
     * @param args the command line arguments
     */

    public static String stringTask(String in){

        for(int i = 0 ; i < in.length() ; i++)
        if(in.charAt(i) >= 'A' && in.charAt(i) <= 'Z' )
            in = in.substring(0,i) + ((char) (in.charAt(i) + 32)) +in.substring(i+1);

        in = in.replaceAll("a", "");
        in = in.replaceAll("o", "");
        in = in.replaceAll("e", "");
        in = in.replaceAll("y", "");
        in = in.replaceAll("u", "");
        in = in.replaceAll("i", "");
        String rs = "";
        int i = 0, l =in.length();
        while(i < l){
        rs += "."+in.charAt(0);
            i++;
            in = in.substring(1);
        }

        return rs;
    }

    public static void main(String[] args) throws IOException {
        // TODO code application logic here
       BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
       String in = br.readLine();
       System.out.println(Main.stringTask(in));

    }

}

import java.util.*;

/**
 *
 * @author palom
 */
public class Coodeforces {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);

        String string;
        char[] str;
        string = scan.nextLine();
        string=string.toLowerCase();
        str=string.toCharArray();
        for(int i=0;i<string.length();i++){

            if(str[i]=='y'||str[i]=='a'||str[i]=='i'||str[i]=='u'||str[i]=='e'||str[i]=='o'){
                str[i]='.';
            }
            if(str[i]!='.'){
                System.out.print("."+str[i]);
            }

        }

    }

}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(
				System.in));
		String str = "";
		String out = "";
		try {
			str = input.readLine();
			str = str.toLowerCase();
			String[] r = str.split("[aoyeui]+");
			for(String s : r){
				if(s.isEmpty()) continue;
//				if(s.length()>1){
					for(int i=0; i<s.length(); i++){
						out += "."+s.charAt(i);
					}
//				} else {
//					out += "."+s;
//				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println(out);
	}
//	private static int[] getArray(String[] arr){
//		int[] i = new int[arr.length];
//		int c = 0;
//		for(String str : arr){
//			i[c] = Integer.parseInt(str);
//			c++;
//		}
//		return i;
//	}

}

import java.util.Scanner;
public class Main {
    public static void main(String[] args){

        Scanner What=new Scanner(System.in);
        String Who=What.next().toLowerCase();

        for (int i = 0; i <Who.length(); i++) {

            if(Who.charAt(i)=='a'||Who.charAt(i)=='o'||Who.charAt(i)=='y'||
                    Who.charAt(i)=='e'||Who.charAt(i)=='u'||Who.charAt(i)=='i')
                continue;
            else
                System.out.print("."+Who.charAt(i));
        }

    }
}

import java.io.PrintWriter;
import java.util.Scanner;
//import java.util.ArrayList;

public class Main implements Runnable {

    Scanner in = new Scanner(System.in);
    PrintWriter out = new PrintWriter(System.out);
    String output,cc,temp;
    char []s;

    public static void main(String[] args) {
        new Thread(new Main()).start();
    }

    private void read() {

        cc = in.nextLine();

    }

    private void solve() {

        temp=cc.toLowerCase();
//        s=temp.toCharArray();

    }

    private void write() {

        for(int i=0;i<temp.length();i++){
        if(temp.charAt(i)=='a'||temp.charAt(i)=='o'||temp.charAt(i)=='y'||temp.charAt(i)=='e'||temp.charAt(i)=='u'||temp.charAt(i)=='i')
            out.print("");
        else{
            out.print(".");
        out.print(temp.charAt(i));
        }
        }
    }

    @Override
    public void run() {
        read();
        solve();
        write();
        in.close();
        out.flush();
        out.close();
    }
}

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.io.Console;
import java.io.IOException;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Scanner;

/**
 *
 * @author KID
 */
public class test {

     public static void main(String[] args) {
    ///////////////////////////////////////////////////////////////////////////
        Scanner sc = new Scanner(System.in);

        String input=sc.next(),result="" ;
        char[] v={'a','o','y','e','u','i','A','O','Y','E','U','I'};
        //ArrayList<String> Clist= new ArrayList<String>();

        for(int i=0 ; i< input.length() ; i++){
            boolean flag=true;
            for(int k = 0 ; k<v.length ; k++){
                if(input.charAt(i)==v[k])
                    flag=false;
                }
               if(flag){

                   result+="."+input.charAt(i);
                  // Clist.add(elem.toLowerCase());

               }

          }
        //result=Clist.toString();
        System.out.println(result.toLowerCase());

     }
}

import java.io.BufferedReader;
import java.io.InputStreamReader;
public class StringTask
{
    public static void main(String[]args)throws Exception
    {
        BufferedReader b = new BufferedReader(new InputStreamReader(System.in));

        String str = b.readLine().toLowerCase();

        for (int i = 0; i < str.length(); i++)
        {
            if("aoyeui".contains(Character.toString(str.charAt(i))))
            {
                continue;
            }
            else
            {
                System.out.print("."+Character.toString(str.charAt(i)));
            }
        }
        System.out.println();
        b.close();
        System.exit(0);
    }
}

import java.util.Scanner;

public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String str;

		while(sc.hasNextLine()){

			str = sc.nextLine();
			str=str.toLowerCase();
            str=str.replace("a","");
            str=str.replace("e","");
            str=str.replace("i","");
            str=str.replace("o","");
            str=str.replace("u","");
            str=str.replace("y","");
            for(int i = 0;i<str.length();i++)
            {
            	System.out.print("."+str.charAt(i));
            }
            System.out.println("");
			}
		}
	}

import java.util.Scanner;
public class Main {
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String s = new String(sc.nextLine());
       StringBuilder ans = new StringBuilder();
       char[] arr = s.toCharArray();

       for(int i=0;i< arr.length;i++){

           if (arr[i]=='A' ||arr[i]=='a' ||arr[i]=='e' ||arr[i]=='E' ||arr[i]=='I' ||arr[i]=='i' ||arr[i]=='O' ||arr[i]=='o' ||arr[i]=='u' ||arr[i]=='U' || arr[i]=='y' || arr[i] =='Y') continue;
           else ans.append("." + arr[i]);
        }

        System.out.println(ans.toString().toLowerCase());

    }
}

import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Mohammad
 */
public class StringTask {
    public static void main(String[] args)throws IOException {

 Scanner cs=new Scanner(new InputStreamReader(System.in));

 String s=cs.next();
 String c=s.toLowerCase();

    for(int i=0;i<c.length();i++)
    {

        if(c.charAt(i) =='a'||s.charAt(i)=='A'||c.charAt(i)=='o'||c.charAt(i)=='O'||c.charAt(i)=='y'||c.charAt(i)=='Y'||c.charAt(i)=='e'||
                        c.charAt(i)=='E'||c.charAt(i)=='u'||c.charAt(i)=='U'||c.charAt(i)=='i'||c.charAt(i)=='I')
        {
            continue;
        }
        else
        {
                    System.out.print("."+c.charAt(i));
        }
    }
        System.out.print("\n");

}

    }

import java.util.Scanner;
public class stringTask {
	public static void main(String[] args)
	{
		Scanner in= new Scanner(System.in);
		String str = in.next();
		char arr[]=new char[1000];
		arr = str.toCharArray();
		int a = arr.length;
		for (int i = 0 ; i<a ; i++)
		{
			if (check(arr[i]))
			{
				if ((int) arr[i]<=97)
					System.out.print("."+(char)((int)(arr[i]+32)));
				else System.out.print("."+ arr[i]);
			}
		}
	}

	private static boolean check(char c) {
		if (c=='a' || c=='A') return false;
		else if (c=='e' || c=='E') return false;
		else if (c=='y' || c=='Y') return false;
		else if (c=='i' || c=='I') return false;
		else if (c=='u' || c=='U') return false;
		else if (c=='o' || c=='O') return false;
		else
		return true;
	}
}

/**
 *
 * @author druid
 */

//package javaapplication1;
import java.util.Scanner;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class JavaApplication1  {

    public static void main(String[] args)throws NumberFormatException,
            IOException {
       BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        //int n =  Integer.parseInt(in.readLine());
       String s  = in.readLine();

        char[]vowels = new char[6];
        vowels[0] = 'a';
        vowels[1] = 'e';
        vowels[2] = 'i';
        vowels[3] = 'o';
        vowels[4] = 'u';
        vowels[5] = 'y';

        s = s.toLowerCase();

        for(int i =0 ; i < s.length() ; i++){
            boolean flag = true;

            for(int j = 0 ; j < 6 ; j++){
              char c = s.charAt(i);
              if(c == vowels[j])
                  flag = false;
            }

            if(!flag)
                continue;

                System.out.print("." + s.charAt(i));
        }

    }

}

import java.util.Scanner;

public class Main {
	public static void main(String []args){
		Scanner in = new Scanner(System.in);
		String x = in.next();
		StringBuilder z = new StringBuilder();
		x = x.toLowerCase();
		for(int i = 0 ; i < x.length(); i++){
			if(x.charAt(i) == 'o' || x.charAt(i) == 'a' || x.charAt(i) == 'u' || x.charAt(i) == 'e' || x.charAt(i) == 'i' || x.charAt(i) == 'y' ){
				continue;
			}
			else{
				z.append('.');
				z.append(x.charAt(i));
			}
		}
		x = z.toString();
		System.out.println(x);
		in.close();
	}
}

import java.io.*;
import java.util.*;
public class Task
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String s1=s.toLowerCase();
        String s2="";
        for(int i=0;i<s1.length();i++)
        {
            if(s1.charAt(i)!='a'&&s1.charAt(i)!='e'&&s1.charAt(i)!='i'&&s1.charAt(i)!='o'&&s1.charAt(i)!='u'&&s1.charAt(i)!='y')
                s2+=s1.charAt(i);
        }
        String s3=".";
        int x=s2.length()-1;
        for(int i=0;i<s2.length();i++)
        {
            s3+=s2.charAt(i);
            if(i!=x)
            s3+='.';
        }
        System.out.println(s3);
    }
}

import java.util.Scanner;
public class x
{
    public static void main(String args[])
    {
        Scanner sc = new Scanner(System.in);
        char[] ch = new char[100];
        char[] v = {'a','e','i','o','u','y'};

        String s = sc.nextLine().toLowerCase().replaceAll("[aeiouyAEIOUY]","");

        StringBuilder sn = new StringBuilder();

        for(int i = 0;i<s.length();i++)
        {
            sn.append(".");
            sn.append(s.charAt(i));
        }
        System.out.println(sn);
    }

}

import java.util.Scanner;

public class Main {
	public static boolean isVowel(char ch) {
		return ch == 'a' || ch == 'o' || ch == 'y' || ch == 'e' || ch == 'u'
				|| ch == 'i';
	}

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		String str = scanner.nextLine();

		str = str.toLowerCase();

		String res = "";
		for (int i = 0; i < str.length(); i++) {
			if (isVowel(str.charAt(i)))
				continue;

			res += "." + str.charAt(i);
		}

		System.out.println(res);
	}
}

/*
 * StringTask

tour

*/

import java.io.*;
import java.util.*;

public class StringTask
{
    static String ReadLn (int maxLg)  // utility function to read from stdin
    {
        byte lin[] = new byte [maxLg];
        int lg = 0, car = -1;
        String line = "";

        try
        {
            while (lg < maxLg)
            {
                car = System.in.read();
                if ((car < 0) || (car == '\n')) break;
                lin [lg++] += car;
            }
        }
        catch (IOException e)
        {
            return (null);
        }

        if ((car < 0) && (lg == 0)) return (null);  // eof
        return (new String (lin, 0, lg));
    }

    public static void main (String args[])  // entry point from OS
    {
        StringTask myWork = new StringTask();  // create a dinamic instance
        myWork.Begin();            // the true entry point
    }

	void Begin()
	{
		String input;
		StringTokenizer idata;
		char x;
		String str = "";

		while ((input = StringTask.ReadLn (255)) != null)
		{
			idata = new StringTokenizer (input);

			if(!idata.hasMoreElements())//handle blank line at the end of parsing
				break;

			for(int i = 0; i < input.length(); i++){

				x = input.charAt(i);
				x = Character.toLowerCase(x);
				if(x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u' || x == 'y' || x == 32){

				}else{
					//System.out.println(x);
					str += "." + x;
				}
			}
			//System.out.println(str);
			System.out.println(str.substring(0,str.length()-2));
			break;

		}
	}
}

import java.util.*;
public class StringTaskPro {
	static boolean isConsonants(char x) {
		if (x == 'a' || x == 'e' || x == 'y' || x == 'o'|| x == 'u' || x == 'i')
			return true;
		else {
			return false;
		}
	}
	static public void main(String[]args){
		Scanner inScanner=new Scanner(System.in);
		String x=inScanner.nextLine();
		String nString=x.toLowerCase();
		for(int i=0;i<x.length();i++){
			if(!isConsonants(nString.charAt(i))){
				System.out.print("."+nString.charAt(i));
			}
		}
	}
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.StringTokenizer;

public class CodeForces {

    public static void main(String[] args) {
        InputReader inp = new InputReader(System.in);
        String word = inp.next();
        word = word.toLowerCase();
        word = word.replaceAll("(a|e|i|o|u|y)", "");
        word = word.replaceAll("", ".");
        System.out.println(word.substring(0, word.length()-1));
    }
}

class InputReader {
    private BufferedReader reader;
    private StringTokenizer tokenizer;

    public InputReader(InputStream stream) {
        reader = new BufferedReader(new InputStreamReader(stream));
        tokenizer = null;
    }

    public String next() {
        while (tokenizer == null || !tokenizer.hasMoreTokens()) {
            try {
                tokenizer = new StringTokenizer(reader.readLine());
            } catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return tokenizer.nextToken();
    }

    public int nextInt() {
        return Integer.parseInt(next());
    }
}

import java.util.Scanner;

/**
 *
 * @author scorpion's bar
 */
public class Main {

    public static void main(String[] args) {
Scanner s=new Scanner(System.in);
String ss=s.next();
ss=ss.trim();
ss=ss.replace("A", "");
ss=ss.replace("a", "");
ss=ss.replace("o", "");
ss=ss.replace("O", "");
ss=ss.replace("e", "");
ss=ss.replace("E", "");
ss=ss.replace("y", "");
ss=ss.replace("Y", "");
ss=ss.replace("u", "");
ss=ss.replace("U", "");
ss=ss.replace("i", "");
ss=ss.replace("I", "");
String sss=ss.toLowerCase();
String ssss="";
for(int i=0;i<sss.length();i++)
{ssss+="."+sss.charAt(i);
}

System.out.print(ssss);

    }

}

import java.util.*;
public class Main{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        s=s.toLowerCase();
        String r="";
        for(int i=0;i<s.length();i++)
        {
            if(s.charAt(i)!='a'&&s.charAt(i)!='e'&&s.charAt(i)!='y'&&s.charAt(i)!='i'&&s.charAt(i)!='o'&&s.charAt(i)!='u')
            r=r+s.charAt(i);
        }
        for(int j=0;j<r.length();j++)
        {
                System.out.print("."+r.charAt(j));
        }
    }
}

import java.util.*;

public class codeforce
{
	public static void main(String args[])
	{

		Scanner ak = new Scanner(System.in);
		String s= ak.nextLine();
		String s1="";
		char ch;
		int l=s.length();
		for(int i=0;i<l;i++)
		{	ch=s.charAt(i);
			if(ch!='a' && ch!='e' && ch!='i' && ch!='o' && ch!='u'&& ch!='A' && ch!='E' && ch!='I' && ch!='O' && ch!='U' && ch!='y' && ch!='Y' )
				s1=s1+"."+ch;
		}
		s=s1.toLowerCase();
		System.out.println(s);

	}
}

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {  Scanner cs= new Scanner(System.in);
       String word = cs.next() .toLowerCase() ;
    String wordtemp = "" ;
    for(int i=0;i<word.length();i++){
        if(word.charAt(i)  !='a' && word.charAt(i) !='e' && word.charAt(i) !='o' && word.charAt(i) !='i' && word.charAt(i) !='u'&& word.charAt(i) !='y')
            wordtemp += "." + word.charAt(i) ;
        }
        System.out.println(wordtemp);
    }

}

import java.util.Scanner;

public class StringProblem {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		sc.useDelimiter("");
		char sep = System.getProperty("line.separator").charAt(0);
		char ch;
		while (sc.hasNext() && (ch = sc.next().charAt(0)) != sep) {
			if (ch != 'A' && ch != 'O' && ch != 'Y' && ch != 'E' && ch != 'U' && ch != 'I' && ch != 'a' && ch != 'o'
					&& ch != 'y' && ch != 'e' && ch != 'u' && ch != 'i') {
				System.out.print('.');
				System.out.print(Character.toLowerCase(ch));
			}
		}
	}
}

//package MyDefaultPackage;

import java.util.Scanner;
//http://codeforces.com/problemset/problem/118/A
public class stringTask_A {

	public static void main(String[] args) {

		Scanner sc=new Scanner(System.in);
		String str=sc.nextLine();
		String res=str.toLowerCase();
		//res=res.replaceAll("[AOYEUI]","");
		res=res.replaceAll("[aoyeui]","");
		res=res.replaceAll("\\s+","");

		//st.replaceAll("\\s+","") removes all whitespaces and non visible characters such as tab, \n .

		//UPDATE :

		//st.replaceAll("\\s+","") and st.replaceAll("\\s","") produce the same result.

		//System.out.println(res);

		//int j = 123456;
		//String x = Integer.toString(j);
		//x = x.substring(0, 4) + "." + x.substring(4, x.length());
		//System.out.println(res.length() + res);

		/*
		 *         for (int i=0;i<res.length();i++){
			          res = res.substring(i) + "." + res.substring(i+1);
		           }
		 *
		 * */
		String fin="";
		for (int i=0;i<res.length();i++){
			fin+= "." + res.substring(i,i+1);
		}

       // res= "." + res.substring(0,1)+"." + res.substring(1,2);
        System.out.println(fin);

	}

}

import java.util.*;
public class StringTask
{
	public static boolean isVowel(char c)
	{
  		return "AEIOUYaeiouy".indexOf(c) != -1;
	}
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		char strCharArray[] = str.toCharArray();
		int j=0,count=0;
		char tempArr[] = new char[2*str.length()];
		for(int i=0;i<str.length();i++)
		{
			if(strCharArray[i]>=65 && strCharArray[i]<=90)
			{
				strCharArray[i] +=32;
			}
			if(isVowel(strCharArray[i]) == false)
			{
				count++;
				tempArr[j] = '.';
				tempArr[j+1] = strCharArray[i];
				j+=2;
			}
		}
		//String str3 = new String(tempArr);
		//System.out.print(str3);
		//System.out.print(count);
		char temparr2[] = new char[2*count];
		for(int i=0;i<2*count;i++)
		{
			temparr2[i] = tempArr[i];
		}
		String str2 = new String(temparr2);
		System.out.print(str2);

	}
}

import java.util.Scanner;

public class StringTask118A {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String s = sc.next().toLowerCase();

        StringBuffer sb = new StringBuffer();
        for (char c : s.toCharArray())
            if (c!='a' && c!='o' && c!='y' && c!='e' && c!='u' && c!='i')
                sb.append(".").append(c);

        System.out.println(sb);
    }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main{

    public static void main(String[] args) throws IOException {
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

        String word = in.readLine();
        word = word.toLowerCase();
        String result = "";

        for (int i = 0; i < word.length(); i++) {
            switch(word.charAt(i))
            {
            case 'a' :
            case 'e' :
            case 'i' :
            case 'o' :
            case 'u' :
            case 'y' : break;
            default : result = result +"." + word.charAt(i);
            }
        }

        System.out.println(result);

    }

}

import java.util.Scanner;

public class stringTask {
    public static void main(String[] args) {
        Scanner s = new Scanner(System.in);

        String word = s.nextLine().toLowerCase(), remadeWord = "";

        for (int i = 0; i < word.length(); i++) {
            char c = word.charAt(i);
            String cS = Character.toString(c);

            if (c != '.' && (c == 'a' || c == 'e' || c == 'i' || c == 'u' || c == 'o' || c == 'y')) {
                word = word.replace(cS, "");
                i = i - 1;
            } else if (c != '.') {
                remadeWord += "." + cS;
            }
        }

        /*
         * for (int i = 0; i < word.length(); i++) { char c = word.charAt(i);
         *
         * if (c != '.') { String cS = Character.toString(c);
         *
         * remadeWord += "." + cS; } }
         */

        System.out.println(remadeWord);
    }
}

import java.util.Scanner;

public class StringTask {

	Scanner scanner;
	String input ,output = "";

	public StringTask (){
		scanner = new Scanner(System.in);
		input = scanner.nextLine();
		input = input.toLowerCase();
		input = input.replaceAll("a", "");
		input = input.replaceAll("e", "");
		input = input.replaceAll("i", "");
		input = input.replaceAll("o", "");
		input = input.replaceAll("u", "");
		input = input.replaceAll("y", "");

		for (int i = 0; i < input.length(); i++){
			output = ( output + "." + input.charAt(i) );
		}
		System.out.println(output);
	}

	public static void main(String[] args) {
		new StringTask();
	}
}

import java.util.Scanner;

public class StringTask {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String word = scanner.next();
        for (int i = 0; i < word.length(); i++) {
            String character = Character.toString(word.charAt(i)).toLowerCase();
            if (!character.equals("a") && !character.equals("o") && !character.equals("y") && !character.equals("e") && !character.equals("u") && !character.equals("i")) {
                System.out.print("." + character);
            }
        }

    }
}

//package com.company;

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);
        String inputS = scanner.next();
        inputS = inputS.toLowerCase();
        StringBuilder input = new StringBuilder(inputS);

        int len = input.length();
        for (int i = 0; i < len; i++) {
            char litter = input.charAt(i);
            if (litter == 'a' || litter == 'o' || litter == 'y'
                    || litter == 'e' || litter == 'u' || litter == 'i') {
                input.deleteCharAt(i);
                --i;
            }
            len = input.length();

        }

        for (int i = 0; i < len; i += 2) {
            input.insert(i, ".");
            len = input.length();
        }
        inputS = input.toString();
        System.out.println(inputS);

    }
}

import java.util.*;

public class Test {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String str = sc.next();
		StringBuffer ans = new StringBuffer("");
		char[] s = str.toCharArray();
		for (int i = 0; i < str.length(); i++) {
			if (!isaeiou(s[i])){
				if (s[i] >= 'a' && s[i] <= 'z') {
					ans.append(".");
					ans.append(s[i]);
				} else {
					ans.append(".");
					ans.append((char)(s[i] - ('A' - 'a')));
				}
			}
		}
		System.out.println(ans);
	}

	public static boolean isaeiou(char c) {
		if (c >= 'a' && c <= 'z') {
			if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u'|| c == 'y')
				return true;
			else
				return false;
		} else {
			if (c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U'|| c == 'Y')
				return true;
			else
				return false;
		}
	}
}

import java.lang.*;
import java.util.*;
public class Solution
{
    public static boolean Vowel(char c)
    {
        c=Character.toLowerCase(c);
        if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u'||c=='y')
        return true;
        return false;
    }
    public static void main(String args[])
    {
        Scanner s=new Scanner(System.in);
        StringBuilder sb=new StringBuilder();
        sb.append('.');
        String str=s.nextLine();
        int n=str.length();
        for(int i=0;i<n;i++)
        {
            char ch=str.charAt(i);
            if(Vowel(ch)==false)
            {
                if(Character.isUpperCase(ch))
                {
                    char d=Character.toLowerCase(ch);
                    sb.append(d);
                }
                else
                {
                    sb.append(ch);
                }

                sb.append('.');

            }

        }
        String S=sb.toString();
        int len=S.length();
        if(S.charAt(len-1)=='.')
        {

            System.out.println(S.substring(0,len-1));
        }
        else
        System.out.println(S);
    }
}

import java.util.*;
import java.io.*;

public class StringTask118A{
	public static void main(String[] args) throws Exception{
		StringBuilder result = new StringBuilder();
		Scanner input = new Scanner(System.in);
		String line = input.nextLine().toLowerCase();
		for(int i = 0; i<line.length(); i++){
			if(line.charAt(i) != 'a' && line.charAt(i) != 'e' && line.charAt(i) != 'i' && line.charAt(i) != 'o' && line.charAt(i) != 'u' && line.charAt(i) != 'y' ){
				result.append('.');
				result.append(line.charAt(i));
			}
		}
		System.out.println(result);
	}
}

/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public  class Ideone
{
    public static void main (String[] args) throws java.lang.Exception
    {
        Scanner input=new Scanner(System.in);
        String txt=input.next();
        int length=txt.length();
     txt= txt.toLowerCase();

        for(int i=0;i<length;i++)
{

  if((txt.charAt(i)=='a')||(txt.charAt(i)=='e')||(txt.charAt(i)=='i')||(txt.charAt(i)=='o')||(txt.charAt(i)=='u')||(txt.charAt(i)=='y'))
{
}
else
{
System.out.print('.');
System.out.print(txt.charAt(i));}
}

    }
}

import java.util.*;
public class A
{
    public static void main(String [] args)
    {
        Scanner in=new Scanner(System.in);
        String s=in.next();
        char []arr=s.toLowerCase().replaceAll("[aeiouy]","").toCharArray();

    for(char t:arr)
    {
        System.out.print("."+t);
    }
    }
}

import java.util.Scanner;

/**
 *
 * @author Hartha
 */
public class StringTask {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

        Scanner input = new Scanner(System.in);
        StringBuilder word = new StringBuilder(input.next());
        final String  vol = "auieyoAUIEYO";

        for (int i =0; i<word.length(); i++)
            for (int j = 0; j < 12; j++)
            {
                if(i == -1)
                    i++;

                if(word.charAt(i) == vol.charAt(j))
                {
                    word.deleteCharAt(i);
                    i--;
                }

            }

        for (int i = 0; i < 12; i++)
        if(word.charAt(0) == vol.charAt(i))
            word.deleteCharAt(0);

        String w =word.toString();
        w = w.toLowerCase();

        for (int i = 0; i < w.length(); i++)
           System.out.print("."+w.charAt(i));

        System.out.println();
    }

}

import java.util.Scanner;

public class Solution{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
String str = s.nextLine();
StringBuilder sb = new StringBuilder();

for(int i = 0;i<str.length();i++){
    char c = str.charAt(i);

    if(c=='A'|| c=='E' || c== 'I' || c == 'O' || c== 'U'||c=='Y'||
    c=='a'|| c=='e' || c == 'i' || c == 'o' || c== 'u'||c=='y')
        continue;

    if(Character.isUpperCase(c)){
        char ch = Character.toLowerCase(c);
        sb.append('.');
        sb.append(ch);

    }
    else{
        sb.append('.');
        sb.append(c);
    }
}
System.out.println(sb);
}
}

import java.util.Scanner;

/**
 *
 * @author Hado0o0l
 */
public class Jamprograming {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here

              Scanner input0=new Scanner (System.in);

        String input=input0.next();
       String input2= input.toLowerCase();
        for (int i = 0; i < input2.length(); i++) {
            if(!(input2.charAt(i)=='a' ||input2.charAt(i)=='o'||input2.charAt(i)=='e'||input2.charAt(i)=='u'||input2.charAt(i)=='y'||input2.charAt(i)=='i'))
       System.out.print("."+input2.charAt(i));
        }

    }}

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Set<Character> vowels = new HashSet<>();
        StringBuilder str = new StringBuilder();
        for (char ch : "aoyeui".toCharArray()) {
            vowels.add(ch);
        }
        Scanner scanner = new Scanner(System.in);
        String str_2 = scanner.nextLine();
        char[] char_symbol = str_2.toCharArray();
        for (int i = 0; i < str_2.length(); i++) {
            char_symbol[i] = Character.toLowerCase(char_symbol[i]);
            if (!vowels.contains(char_symbol[i])) {
                str.append(".").append(char_symbol[i]);
            }
        }
       System.out.print(str);
    }
}

import java.io.*;
import java.util.*;

public class Main {

	public static void main(String[] args) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String z;

		while((z=br.readLine()) != null)
		{
			z = z.toLowerCase();
			ArrayList<Character>s = new ArrayList<Character>();
			int cont=0;
			for(int i=0 ; i<z.length();i++)
			{
				if(z.charAt(i) != 'a' &&
					z.charAt(i) != 'e' &&
					z.charAt(i) != 'i' &&
					z.charAt(i) != 'o' &&
					z.charAt(i) != 'u' &&
					z.charAt(i) != 'y')
				{
					s.add(z.charAt(i));
				}
			}

			for (char c : s)
				System.out.print("."+c);

		}
	}
}

import java.io.*;
import java.util.*;
public class java{
    public static void main(String args[]){
        Scanner sc = new Scanner(System.in);
        String c = sc.nextLine();
        String s = c.toLowerCase();
        String res = "";
        for(int i=0;i<s.length();i++){
            if(s.charAt(i)=='a' || s.charAt(i)=='e'  || s.charAt(i)=='i'
            || s.charAt(i)=='o'  || s.charAt(i)=='u' || s.charAt(i)=='y'){
                continue;
            }
            else{
                res+="."+s.charAt(i);
            }
        }
        System.out.println(res);
    }
}

import com.sun.org.apache.bcel.internal.generic.AALOAD;
import java.util.Scanner;
import java.util.ArrayList;
public class Ali2
{

    public static void main(String[] args)
    {
        Scanner scan=new Scanner(System.in);
        String str=scan.nextLine();
        char[] arr=new char[str.length()];
        for (int i = 0; i < str.length(); i++)
        {
            arr[i]=str.charAt(i);
        }
        for (int i = 0; i < str.length(); i++)
        {
         if(arr[i]=='A' || arr[i]=='O' || arr[i]=='Y' || arr[i]=='E' || arr[i]=='U' || arr[i]=='I' || arr[i]=='a' || arr[i]=='o' || arr[i]=='y' || arr[i]=='e' || arr[i]=='u' || arr[i]=='i')
             continue;
         else
         {
             if(arr[i]<97)
                 System.out.print("."+(char)(arr[i]+32));
             else
                 System.out.print("."+arr[i]);
         }
        }
    }

}

import java.util.Scanner;

public class String_Task {

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String palabra = in.nextLine();
        String cadena = palabra.toLowerCase();
        String frase="";
        for (int i = 0; i < cadena.length(); i++) {
            if (cadena.charAt(i) != 'a'&&cadena.charAt(i) != 'e'&&cadena.charAt(i) != 'i'&&cadena.charAt(i)!='o'
                &&cadena.charAt(i) != 'u'&&cadena.charAt(i) != 'y') {
                frase+=cadena.charAt(i);
            }
        }
        String rpta = "";
        for (int i = 0; i < frase.length(); i++) {
            rpta += ".".concat(frase.charAt(i) + "");
        }
        System.out.println(rpta);
    }
}

import java.util.*;

public class Demo
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        String ns=s.replaceAll("[AEIOUYaeiouy]", "");
        String q=ns.toLowerCase();
        String x = q.replaceAll("([a-zA-Z])", ".$1");
       // String  y = x.replaceAll("([A-Z])", ".($1-32)");
        System.out.println(x);
       /* char[] a=x.toCharArray();
        for(int i=0;i<a.length();i++)
        {
            if(a[i]>="A"&&a[i]<="Z")
            {
                a[i].toLowerCase();
            }
        }
         Arrays.toString(a);
         System.out.println(a);*/

    }
}

import java.util.Scanner;
public class solution
{
    public static void main(String[] args)
    {
        Scanner in=new Scanner(System.in);
        String s=in.next().toLowerCase().replaceAll("[a,i,o,y,e,u]","");
        for(int i=0;i<s.length();i++)
        {
            System.out.print("."+s.charAt(i));

        }

    }
}

import java.util.*;
public class MyClass {
    public static void main(String args[]) {
    Scanner s=new Scanner(System.in);
    String str =s.nextLine();
  String str1=  str.toLowerCase();
   char[] str2= str1.toCharArray();
    int i;
    String str3="";
    for(i=0;i<str2.length;i++)
    {
        if(str2[i]!='a' && str2[i]!='e' && str2[i]!='i' && str2[i]!='o' && str2[i]!='u' && str2[i]!='y')
        {
            str3=str3+"."+str2[i];
        }
        else
        {
         continue;
        }
    }
    System.out.println(str3);
    }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class A118 {
    public static void main(String args[]) throws IOException {
        BufferedReader ip = new BufferedReader(new InputStreamReader(System.in));
        String s = ip.readLine();
        int l = s.length();
        char c;
        StringBuilder sb = new StringBuilder();

        for (int i=0;i<l;i++)
        {
            c = s.charAt(i);
            if(c == 'A' | c == 'E' | c == 'I' | c == 'O' | c == 'U' | c == 'Y' |
                    c == 'a' | c =='e' | c == 'i' | c == 'o' | c =='u' | c =='y')
            {
                // Do Nothing
            }
            else if( (int)c < 97)
            {
                c = (char)((int)c +32);
                sb.append("."+c);
            }
            else
            {
                sb.append("."+c);
            }
        }
        System.out.println(sb);
    }
}

import java.util.Scanner;

public class Jam1 {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Scanner in = new Scanner(System.in);
        String s;
        int arrIndex=0;
        s = in.next();

        s=s.toLowerCase();
        for(int i=0 ; i<s.length() ; i++){
            if(!(s.charAt(i)=='i' || s.charAt(i)=='y' ||s.charAt(i)=='e' || s.charAt(i)=='u' ||s.charAt(i)=='o' ||s.charAt(i)=='a')){

                System.out.print('.');
                System.out.print(s.charAt(i));
            }
        }

    }

}

import java.util.ArrayList;
import java.util.Scanner;

public class clientTry {

	public static void main(String[] args) {
		Scanner s = new Scanner(System.in);
		ArrayList<Character> al = new ArrayList<>();
		al.add('a'); al.add('e');al.add('i');al.add('o');al.add('u');al.add('y');
		al.add('A');al.add('E');al.add('I');al.add('O');al.add('U');al.add('Y');

		 String str = s.next();
		  String temp="";
		  for(int i=0;i<str.length();i++)
		  {  char ch=str.charAt(i);
			  if(al.contains(ch))
				  continue;

			   if(ch>=65 && ch<97)
			   {
				 ch=(char) (ch+32);

			   }

			   temp+="."+ ch;

		  }
		  System.out.println(temp);

	}

}

   import java.io.*;
    import java.util.*;
    import java.lang.*;

public class Test {

        public static void main(String[] args)
        {

            Scanner in = new Scanner(System.in);

            String str = in.nextLine();
            String retStr = "";

            for (int i =0;i < str.length();i++)
            {
                if (str.substring(i, i+1).equals( "a" )||
                    str.substring(i, i+1).equals( "e" )||
                    str.substring(i, i+1).equals( "i" )||
                    str.substring(i, i+1).equals( "o" )||
                    str.substring(i, i+1).equals("u" )||
                    str.substring(i, i+1).equals("A" )||
                    str.substring(i, i+1).equals("E" )||
                    str.substring(i, i+1).equals( "I" )||
                    str.substring(i, i+1).equals("O" )||
                    str.substring(i, i+1).equals("y" )||
                    str.substring(i, i+1).equals("Y" )||
                    str.substring(i, i+1).equals("U"))
                {
                     retStr += "";
                }
                else if (Character.isUpperCase(str.charAt(i)))
                {
                    retStr+="."+ str.substring(i, i+1).toLowerCase();
                }

                else
                {
                    retStr +="." + str.substring(i, i+1);
                }
            }
            System.out.print(retStr);

        }

    }

import java.util.Scanner;
public class A118{
    public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
	String str = s.nextLine().toLowerCase();
	String asdfgh = str.replace("y", "");
	String asdfg = asdfgh.replace("a", "");
	String asdf = asdfg.replace("e", "");
	String asd = asdf.replace("i", "");
	String as = asd.replace("o", "");
	String a = as.replace("u", "");

    String b = "";
    int length = a.length()*2;
    int i  = 0;
    while(b.length() < length){
	     b += "."+ a.substring(i, i + 1) ;
	     i ++;
	}

	System.out.println(b);

    }
}

import java.util.Scanner;

public class CodeForces {

    public static void main(String[] args) {
        //118A - String Task
        Scanner scanner = new Scanner(System.in);
        String word = scanner.next();
        String newWord = "";
        if (word.length() <= 100){
            for (int i = 0; i < word.length(); i++) {
                char ch = word.charAt(i);
                if (ch == 'A' || ch == 'E' || ch == 'I' || ch == 'Y' || ch == 'U' || ch == 'O' ||
                    ch == 'a' || ch == 'e' || ch == 'i' || ch == 'y' || ch == 'u' || ch == 'o'){

                    }else if (ch >= 'a' && ch <= 'z' ||
                        ch >= 'A' && ch <= 'Z'){
                    ch = Character.toLowerCase(ch);
                    newWord+= "."+ ch;
                }
            }
        }
        System.out.println(newWord);
    }
    }

import java.util.Scanner;

public class CodeForces {

    public static void main(String[] args) {
        //118A - String Task
        Scanner scanner = new Scanner(System.in);
        String word = scanner.next();
        String newWord = "";
        if (word.length() <= 100){
            for (int i = 0; i < word.length(); i++) {
                char ch = word.charAt(i);
                if (ch == 'A' || ch == 'E' || ch == 'I' || ch == 'Y' || ch == 'U' || ch == 'O' ||
                    ch == 'a' || ch == 'e' || ch == 'i' || ch == 'y' || ch == 'u' || ch == 'o'){
                        continue;
                    }else if (ch >= 'a' && ch <= 'z' ||
                        ch >= 'A' && ch <= 'Z'){
                    ch = Character.toLowerCase(ch);
                    newWord+= "."+ ch;
                }
            }
        }
        System.out.println(newWord);
    }
    }

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.ArrayList;
import java.util.Scanner;
import javax.sound.midi.SysexMessage;

/**
 *
 * @author Assem
 */
public class Letters {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        // TODO code application logic here
        String input ;
        Scanner scan = new Scanner(System.in);
        input = scan.next();

            input = input.toLowerCase();
            for (int i =0 ; i <input.length() ; i++)
            {
                if (input.charAt(i)== 'a' || input.charAt(i)== 'y' || input.charAt(i)== 'e' || input.charAt(i)== 'u'
                        || input.charAt(i)== 'i' || input.charAt(i)== 'o')
                {
                   //input = input.replaceAll(String.valueOf(input.charAt(i)), "");
                }

                else
                {
                    System.out.print("." + input.charAt(i));
                }
            }

        //System.out.println(Words);

    }

}

import java.lang.reflect.Array;
import java.util.*;

public class TestCodeforces {
    public static void main(String[] args) {

        Scanner scanner = new Scanner(System.in);

        String s = scanner.nextLine();
        List<String> l = new ArrayList(Arrays.asList("A", "O", "Y", "E", "U", "I", "a", "o", "i", "e", "y", "o", "u"));

        String res = "";
        int len = s.length();
        for (int i = 0; i < len; i++) {
            char c = s.charAt(i);
            if (c >= 'A' && c <= 'Z') c = (char) (c - 'A' + 'a');
            if (l.contains(""+c)) continue;
            else res += "." + c;
        }

        System.out.println(res);
        scanner.close();

    }

}

import java.io.*;
import java.util.Scanner;

public class JavaApplication1 {
	public static void main(String args[]) throws IOException {
Scanner sc  = new Scanner(System.in);
String input = sc.next().toLowerCase();
StringBuilder str = new StringBuilder();
str.append('.');
 for (int i = 0; i < input.length(); i++) {
         if (input.charAt(i) == 'a' || input.charAt(i) == 'e' || input.charAt(i) == 'o' || input.charAt(i) == 'i' || input.charAt(i) == 'u' || input.charAt(i) == 'y') {
             if(i != 0)
             {
             if (str.charAt(str.length()-1) != '.') {
                str.append('.');
             }
             }

     }else
         {
             if (str.charAt(str.length()-1) != '.') {
                 str.append(".");
             }
         str.append(input.charAt(i));
         }

 }

            if (str.charAt(str.length()-1) == '.') {
                str.deleteCharAt(str.length()-1);
            }
            System.out.println(str);

}}

import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner input = new Scanner(System.in);
        String s = input.next().toLowerCase().replaceAll("[aoyeui]", "");
        String output = "";
        for(int i = 0; i < s.length(); i++){
            output += "." + s.charAt(i);
        }
        System.out.print(output);
    }
}

import java.util.Scanner;

public class Strak {
    public static void main(String[] args){

        Scanner sc=new Scanner(System.in);
        String str=sc.next();
        str=str.toLowerCase();
        str=str.replaceAll("a", "");
        str=str.replaceAll("e", "");
        str=str.replaceAll("i", "");
        str=str.replaceAll("o", "");
        str=str.replaceAll("u", "");
        str=str.replaceAll("y", "");
      String  si="";
      char dot='.';
      for(int i=0; i<str.length(); i++){
          si=si+dot+str.charAt(i);
      }
      System.out.println(si);
    }
}

import java.util.Scanner;

/**
 *
 * @author bashayrhindi
 */
public class JavaApplication19 {

    public static void main(String[] args) {

        Scanner in=new Scanner(System.in);

v1(in);
        // TODO code application logic here
    }
     public static void v1(Scanner in){
         System.out.println(v(in.nextLine().toLowerCase().replaceAll("[a|e|i|o|y|u]", "")));
     }
    public static String v(String inp){
    if(inp.length()<=0)return "";
    else
    return (("."+inp.charAt(0))+v(inp.substring(1)));

    }

}

import java.io.*;
public class MyClass {
    public static void main(String args[])throws IOException {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        s=s.toLowerCase();
        char vow[]={'a','e','i','o','u','y'};
        for(int i=0;i<s.length();i++)
        {
            for(int j=0;j<6;j++)
            {
                if(s.charAt(i)==vow[j])
                {
                    s=s.substring(0,i)+s.substring(i+1,s.length());
                    i--;
                    break;
                }
            }
        }
        s="."+s;
        for(int i=1;i<s.length();i++)
        {
            if(Character.isLetter(s.charAt(i))&&s.charAt(i-1)!='.')
            {
                s=s.substring(0,i)+"."+s.substring(i,s.length());
            }
        }
        System.out.print(s);
    }
}

import java.util.StringTokenizer;
import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.HashMap;
import java.util.ArrayList;

public class Main {

    public static void Solve(Cin in,PrintWriter out) {
       String str = in.next();
       StringBuilder strb = new StringBuilder();
       for(int i = 0; i < str.length(); i++) {
           if((str.charAt(i) == 'a'||str.charAt(i) == 'A')||
                   (str.charAt(i) == 'O'||str.charAt(i) == 'o')||
                   (str.charAt(i) == 'Y'||str.charAt(i) == 'y')||
                   (str.charAt(i) == 'E'||str.charAt(i) == 'e')||
                   (str.charAt(i) == 'U'||str.charAt(i) == 'u')||
                   (str.charAt(i) == 'i'||str.charAt(i) == 'I')) {

           } else {
               strb.append(str.charAt(i));
           }
       }
       int n = strb.length()*2;
       char[] res = new char[n];
       for(int i = 0; i < n; i+=2) res[i] = '.';
       for(int i = 1,j = 0; i < n && j < strb.length();i+=2,j++) {
           res[i] = strb.charAt(j);
       }
       out.print(String.valueOf(res).toLowerCase());

    }
  // ....*..*..*.*....... *...*....*..*..*.....*..\\
    public static void main(String[] args) {
        PrintWriter out = new PrintWriter(System.out); // .. out
        Cin in= new Cin();
//        int tt = in.nextInt();
//        for(int T = 1; T <= tt; T++) {//  .. Test Case
//              out.print("Test "+T+": ");
//        }
        Solve(in, out);
        out.close();
    }
    static class Cin { // ... Input
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        StringTokenizer st = new StringTokenizer("");
        String next() {
            while(!st.hasMoreTokens()) {
                try {
                    st = new StringTokenizer(reader.readLine());
                } catch (Exception e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }
        String nextLine() {
            StringBuilder strb = new StringBuilder();
            try {
                st = new StringTokenizer(reader.readLine());
                while(st.hasMoreTokens()) {
                    strb.append(st.nextToken());
                    strb.append(" ");
                }
            } catch (Exception e) {
                e.printStackTrace();
            }
            return strb.toString().trim();
        }
        int nextInt() {return Integer.parseInt(next());}
        long nextLong() {return  Long.parseLong(next());}
        int[] nextArrInt(int i,int n) {
            int[] r = new int[n];
            for(i = 0; i < n; i++) r[i] = nextInt();
            return r;
        }
    }
}
//.... ..
//.***************end****************.//

import java.util.Scanner;

public class Main
{
    public static void main(String args[])
    {
        Scanner sc = new Scanner(System.in);
        String s = sc.next();
        sc.close();
        String answer = new String();
        s = s.toLowerCase();
        for(int i = 0; i < s.length(); i++)
        {
            if(s.charAt(i) == 'a')
                continue;
            else if(s.charAt(i) == 'o')
                continue;
            else if(s.charAt(i) == 'y')
                continue;
            else if(s.charAt(i) == 'u')
                continue;
            else if(s.charAt(i) == 'i')
                continue;
            else if(s.charAt(i) == 'e')
                continue;
            else answer += "." + s.charAt(i);
        }
        System.out.println(answer);
    }
}

import java.util.Scanner;
import java.util.Arrays;
public class problems {
    public static void main (String args[])throws Exception{
        Scanner input = new Scanner(System.in);
        String L = input.next();
        String M = L.toLowerCase();
        char letters[]= M.toCharArray();
        char answer[]=new char[200];
        int counter =0;
        for (int i = 0; i < letters.length; i++) {
            if(letters[i]=='a'||letters[i]=='o'||letters[i]=='y'||letters[i]=='e'||letters[i]=='u'||letters[i]=='i'){
                letters[i]='2';
            }
        }
        for (int i = 0; i < letters.length; i++) {
            if(letters[i]!='2'){
                System.out.print('.'+ ""+letters[i]);
            }
        }

    }
}

import java.io.IOException;
import java.util.Scanner;

public class Solution {

	private static final Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) throws IOException {

		String req = scanner.nextLine();

		String vowels = "aeiouyAEIOUY";
		String retStr = "";

		for (char x : req.toCharArray()) {
			if (vowels.indexOf(x) < 0) {
				retStr += ".";
				retStr =retStr+(x+"").toLowerCase();
			}
		}
		System.out.println(retStr);
	}
}

import java.util.*;

public class stringTask
{
    public static void main (String [] args)
    {
        Scanner sc = new Scanner (System.in);
        String in = sc.nextLine();
        in = in.toLowerCase();
        StringBuilder in2 = new StringBuilder();

            in = in.replaceAll("[aeouiyAEOUIY]", "");

            for (int i = 0 ; i < in.length() ; i++)
            {
                in2 = in2.append('.');
                in2 = in2.append(in.charAt(i));
            }

        System.out.print(in2);
    }
}

import java.util.*;
public class Main{
        public static void main(String[] args){
                Scanner r=new Scanner(System.in);
                String s=(r.next()).toLowerCase(),sx="aoyeui";char c='1';
                int i,l=s.length();
                for(i=0;i<l;i++){
                        c=s.charAt(i);
                        if(sx.indexOf(c)==-1)
                                System.out.print("."+c);

                }
                System.out.println();

        }
}

import java.util.*;
import java.lang.*;
import java.math.*;
import java.io.*;
import static java.lang.Math.*;
import static java.util.Arrays.*;

public class Main {

	// static int INF=1<<28;

	public static void main(String[] args)throws Exception{
		Scanner sc =new Scanner(System.in);
	//	File file = new File("Prime2.txt");
	//	PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter(file)));
	//	sc.useDelimiter("(\\s)+|[,]");
	//	ArrayList<Integer> lis = new ArrayList<Integer>();
	//	int k=sc.nextInt();

		while(sc.hasNext()){

		String c[]={"A", "O", "Y", "E", "U", "I","a","o","y","e","y","i","u"};
			String n=sc.next(),r=".";

			for(int i=0;i<c.length;i++){
		    n=  n.replaceAll(c[i], "");
			}
		    n=n.toLowerCase();
			for(int i=0;i<n.length();i++){
			      r=r+n.substring(i,i+1)+".";
				}

			System.out.println(r.substring(0,r.length()-1));
	}

	}

}

import java.util.*;

public class practice2 {
    public static void main(String[] args){
    Scanner sc=new Scanner(System.in);
    String s=sc.next();
        String a="";

          for (int i = 0; i <s.length() ; i++) {
              if(s.charAt(i)!='A'&&s.charAt(i)!='E'&&s.charAt(i)!='I'
                      &&s.charAt(i)!='O'&&s.charAt(i)!='U'&&s.charAt(i)!='a'&&s.charAt(i)!='e'&&s.charAt(i)!='i'
                      &&s.charAt(i)!='o'&&s.charAt(i)!='u'&&s.charAt(i)!='Y'&&s.charAt(i)!='y'){
                  a+="."+s.charAt(i);
              }
          }

        System.out.println(a.toLowerCase());
    }
}

import java.io.PrintWriter;
import java.util.Scanner;

public class taskA {

    Scanner in;
    PrintWriter out;

    void solve() {
        String s = in.nextLine();
        s = s.toLowerCase();
        for (int i = 0; i < s.length(); i++) {
            if (s.charAt(i) == 'a' || s.charAt(i) == 'o' || s.charAt(i) == 'y'
                    || s.charAt(i) == 'e' || s.charAt(i) == 'u'
                    || s.charAt(i) == 'i') {

            } else {
                out.print('.');
                out.print(s.charAt(i));
            }
        }
        out.println();
    }

    void run() {

        in = new Scanner(System.in);
        out = new PrintWriter(System.out);
        try {
            solve();
        } finally {
            out.close();
        }

    }

    public static void main(String[] args) {
        new taskA().run();

    }

}

import java.util.Scanner;
public class Problem118A {
     public static void main ( String[] args)
     {
         Scanner in = new Scanner(System.in);
         String s = in.nextLine();
         s=s.toLowerCase();
         char[] c = s.toCharArray();
         StringBuilder sb = new StringBuilder();
         for ( int i = 0; i<c.length;i++)
         {
             switch (c[i])
             {
                 case 'a' : break;
                 case 'o' : break;
                 case 'y' : break;
                 case 'e' : break;
                 case 'u' : break;
                 case 'i' : break;
                 default:
                     sb.append('.');
                     sb.append(c[i]);
             }
         }
         System.out.println(sb.toString());
     }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class SingleTask {

    private static final Character[] VOWELS = { 'a', 'o', 'y', 'e', 'u', 'i'};

    public static void main(String[] args) {

        // input
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String input = "";
        try {
            input = in.readLine();
            in.close();
        } catch (IOException e) {
            e.printStackTrace();
        }

        // calc
        String output = "";
        for (int i = 0; i < input.length(); i++) {
            boolean isVowel = false;
            char c = Character.toLowerCase(input.charAt(i));
            for (int j = 0; j < VOWELS.length; j++) {
                if (VOWELS[j].equals(c)) {
                    isVowel = true;
                    break;
                }
            }
            if (!isVowel)
                output += "." + c;
        }

        // output
        System.out.print(output);
        return;
    }

}

import java.util.Scanner;
public class TheatreSquare {

    public static void main(String[] args) {
        Scanner input=new Scanner(System.in);
        String word=input.next();
        String newWord="";
        //char hello=word.charAt(0);
        for(int x=0; x<word.length(); x++){
            char hello=word.charAt(x);
            String hello1="";
            hello1+=hello;
            hello1=hello1.toLowerCase();
            if(hello1!="a" && hello1!="e" && hello1!="i" && hello1!="o" && hello1!= "u" && hello1!="y"){
                newWord+='.';
                newWord+=hello1;
            }
        }
        System.out.println(newWord);
    }

}

import java.lang.*;
import java.util.*;
public class A69
{
    public static void main(String args[])
    {
        Scanner sc = new Scanner(System.in);
		String s = sc.next();

		String s1 = s.toLowerCase();
		s = "";
		int l = s1.length();
		for(int i = 0;i<l;i++)
		{
			if(s1.charAt(i) == 'a' ||s1.charAt(i) == 'u' ||s1.charAt(i) == 'o' || s1.charAt(i) == 'i' || s1.charAt(i) == 'e' )
			{

			}
			else
			{
				s = s+s1.charAt(i);

			}
		}
		s1 = "";
		l = s.length();
		for(int i = 0;i<l;i++)
		{
			s1 = s1+'.'+s.charAt(i);
		}
		System.out.println(s1);

    }
}

import java.lang.*;
import java.util.*;
public class Solution
{
    public static boolean Vowel(char c)
    {
        c=Character.toLowerCase(c);
        if(c=='a'||c=='e'||c=='i'||c=='o'||c=='u')
        return true;
        return false;
    }
    public static void main(String args[])
    {
        Scanner s=new Scanner(System.in);
        StringBuilder sb=new StringBuilder();
        sb.append('.');
        String str=s.nextLine();
        int n=str.length();
        for(int i=0;i<n;i++)
        {
            char ch=str.charAt(i);
            if(Vowel(ch)==false)
            {
                if(Character.isUpperCase(ch))
                {
                    char d=Character.toLowerCase(ch);
                    sb.append(d);
                }
                else
                {
                    sb.append(ch);
                }

                sb.append('.');

            }

        }
        String S=sb.toString();
        int len=S.length();
        if(S.charAt(len-1)=='.')
        {

            System.out.println(S.substring(0,len-1));
        }
        else
        System.out.println(S);
    }
}

import java.util.Scanner;
public class Main
{
        public static void main(String[] args) {
            Scanner sc=new Scanner(System.in);
            String str=sc.next();
            String nstr="";
            for(int i=0;i<str.length();i++)
            {
                char ch=str.charAt(i);
                if(ch=='a'||ch=='e'||ch=='i'||ch=='o'||ch=='u'||ch=='A'||ch=='E'||ch=='I'||ch=='O'||ch=='U')
                continue;
                else{
                    nstr+=".";
                    nstr+=Character.toLowerCase(ch);
                }

            }
            System.out.print(nstr);
}
}

import java.util.*;

public class StringTask
{
	public static void main(String args[])
	{
		String a;
		int count=0,k=1;
		Scanner s=new Scanner(System.in);
		a=s.next();
		char[] c=a.toCharArray();
		char[] r=new char[10000000];
		for(int i=0;i<a.length();i++)
		{
			if(c[i]=='A' || c[i]=='E' || c[i]=='I' || c[i]=='O' || c[i]=='U' || c[i]=='a' || c[i]=='e' || c[i]=='i' || c[i]=='o' || c[i]=='u')
			{
				continue;
			}
			else
			{
				r[k]=c[i];
				k+=2;
				count++;
			}
		}
		String ans=new String(r).toLowerCase();
		char[] fin=new char[2*count];
		fin=ans.toCharArray();
		for(int i=0;i<2*count;i+=2)
		{
			fin[i]='.';
		}
		for(int i=0;i<2*count;i++)
		{
			System.out.print(fin[i]);
		}
	}
}

import java.util.Scanner;
public class A118{
    public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
	String str = s.nextLine().toLowerCase();
	String asdfg = str.replace("a", "");
	String asdf = asdfg.replace("e", "");
	String asd = asdf.replace("i", "");
	String as = asd.replace("o", "");
	String a = as.replace("u", "");

    String b = "";
	for(int i = 0 ; i < a.length()-1; i ++){
	     b += "."+ a.substring(i, i + 1) ;
	}

	System.out.println(b);

    }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

    public static void main(String[] args) throws IOException {
        BufferedReader input = new BufferedReader(new InputStreamReader(
                System.in));
        String txt = input.readLine().toLowerCase();
        String res = "";
        if(txt.equals("")){
        }
        else{
        for(int i=0;i<txt.length();i++){
            switch(txt.charAt(i)){
            case 'a' : case 'e' : case 'i' :case'u' :case'o':break;
            default : res = res +"."+txt.charAt(i);
            }
        }
        }
        System.out.println(res);
    }
}

import java.util.Scanner;

public class Main{
    static Scanner keyboard = new Scanner(System.in);

    public static void main(String[] args){
        String input = keyboard.nextLine();
        String output = "";

        for (int i = 0; i < input.length(); i++){
            if ("AOYEUI".contains(String.valueOf(input.charAt(i)))){

            }
            else
                output += '.' + input.charAt(i);

        }

        System.out.println(output);
    }

}

import java.util.Scanner;

public class CodeForces {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		String answer = reader.next();
		doIt(answer);
		reader.close();

	}

	public static void doIt(String myText) {
		String result = myText.replaceAll("[aeiouy]", "").toLowerCase();
		String result1 = result.replaceAll("", ".");
		String result2 = result1.substring(0, result1.length() - 1);
		System.out.println(result2);
	}
}

import java.util.*;

public class stringTask {

	public static void main(String args[])
	{
		Scanner scan = new Scanner(System.in);
		String string = scan.nextLine();
		string = string.toLowerCase();
		char[] list = {'a', 'e', 'i','o','u','y'};
		String answer = "";

		char temp;
		boolean valid = true;
		for(int i = 0; i < string.length(); i++)
		{
			temp = string.charAt(i);
			for(int j = 0; j < list.length; j++)
			{
				if(list[j] == temp)
				{
					valid = false;
				}
			}

			if(valid)
			{
				answer += "." + temp;

			}

			valid = true;

		}

	}

}

import java.io.*;
import java.util.*;

public class Main {

	public static void main(String[] args) throws IOException
	{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String z;

		while((z=br.readLine()) != null)
		{
			z = z.toLowerCase();
			ArrayList<Character>s = new ArrayList<Character>();
			int cont=0;
			for(int i=0 ; i<z.length();i++)
			{
				if(z.charAt(i) != 'a' &&
					z.charAt(i) != 'e' &&
					z.charAt(i) != 'i' &&
					z.charAt(i) != 'o' &&
					z.charAt(i) != 'u'||
					z.charAt(i) != 'y')
				{
					s.add(z.charAt(i));
				}
			}

			for (char c : s)
				System.out.print("."+c);

		}
	}
}

import java.io.*;
import java.util.*;
public class solution
{
    public static void main(String[] args)
    {
        Scanner snr=new Scanner(System.in);
        String s=snr.next().toLowerCase();
        for(int i=0;i<s.length();i++)
        {
            if(s.charAt(i)!='a' && s.charAt(i)!='a' && s.charAt(i)!='e' && s.charAt(i)!='o' && s.charAt(i)!='u' && s.charAt(i)!='y' )
            System.out.println("."+s.charAt(i));
        }

        }
}

/*
 * StringTask

tour

*/

import java.io.*;
import java.util.*;

public class StringTask
{
    static String ReadLn (int maxLg)  // utility function to read from stdin
    {
        byte lin[] = new byte [maxLg];
        int lg = 0, car = -1;
        String line = "";

        try
        {
            while (lg < maxLg)
            {
                car = System.in.read();
                if ((car < 0) || (car == '\n')) break;
                lin [lg++] += car;
            }
        }
        catch (IOException e)
        {
            return (null);
        }

        if ((car < 0) && (lg == 0)) return (null);  // eof
        return (new String (lin, 0, lg));
    }

    public static void main (String args[])  // entry point from OS
    {
        StringTask myWork = new StringTask();  // create a dinamic instance
        myWork.Begin();            // the true entry point
    }

	void Begin()
	{
		String input;
		StringTokenizer idata;
		char x;
		String str = "";

		while ((input = StringTask.ReadLn (255)) != null)
		{
			idata = new StringTokenizer (input);

			if(!idata.hasMoreElements())//handle blank line at the end of parsing
				break;

			for(int i = 0; i < input.length(); i++){

				x = input.charAt(i);
				x = Character.toLowerCase(x);
				if(x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u' || x == 32){

				}else{
					//System.out.println(x);
					str += "." + x;
				}
			}
			System.out.println(str.substring(0,str.length()-1));

		}
	}
}

import java.util.*;
public class CF118A8 {
  public static void main(  String[] args){
  //  System.out.println("bitse207 1");
    Scanner read=new Scanner(System.in);
    char[] input=read.nextLine().toCharArray();
    int s=0;
    for (    char c : input) {
      boolean v=c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u';
      if (!v) {
     //   System.out.println("bitse207 2");
        System.out.print(s - 1);
      }
    }
    System.out.print("\n");
  }
}

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

import java.util.Scanner;

/**
 *
 * @author scorpion's bar
 */
public class Main {

    public static void main(String[] args) {
Scanner s=new Scanner(System.in);
String ss=s.next();
ss=ss.trim();
ss=ss.replace("A", "");
ss=ss.replace("a", "");
ss=ss.replace("o", "");
ss=ss.replace("O", "");
ss=ss.replace("e", "");
ss=ss.replace("E", "");
ss=ss.replace("y", "");
ss=ss.replace("Y", "");
ss=ss.replace("u", "");
ss=ss.replace("U", "");
ss=ss.replace("i", "");
ss=ss.replace("I", "");
for(int i=0;i<ss.length();i++)
{System.out.print("."+ss.charAt(i));
}

    }

}

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author sarah
 */
public class Main {

    /**
     * @param args the command line arguments
     */

    public static String stringTask(String in){

        for(int i = 0 ; i < in.length() ; i++)
        if(in.charAt(i) >= 'A' && in.charAt(i) <= 'Z' )
            in = in.substring(0,i) + ((char) (in.charAt(i) + 32)) +in.substring(i+1);

        in = in.replaceAll("a", "");
        in = in.replaceAll("o", "");
        in = in.replaceAll("e", "");
        in = in.replaceAll("y", "");
        in = in.replaceAll("u", "");
        in = in.replaceAll("i", "");
        String rs = "";
        int i = 0, l =in.length();
        while(i < l){
        rs += "."+in.charAt(0);
            i++;
            in = in.substring(1);
        }

        return rs;
    }

    public static void main(String[] args) {
        // TODO code application logic here
       System.out.println(Main.stringTask("DDD"));

    }

}

import java.util.Scanner;

public class Problem118A {
    String str;
    char string[];

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int cont = 0;
        String str = sc.next();
        str = str.toLowerCase();
        char arr[] = str.toCharArray();
        for (int i = 0; i < arr.length; i++) {
            if ((arr[i] != 'a') || (arr[i] != 'e') || (arr[i] != 'y')
                    || (arr[i] != 'o') || (arr[i] != 'u') || (arr[i] != 'i')) {
                System.out.print('.');
                System.out.print(arr[i]);
            }

        }

    }

}

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		System.out.println("Enter:");

		Scanner myScanner = new Scanner(System.in);

		String myString = myScanner.nextLine();
		myScanner.close();
		String newsString = myString.toLowerCase();
		char[] ch = newsString.toCharArray();

		int count = 0;
		for (int i = 0; i < ch.length; i++) {

			switch (ch[i]) {
			case 'A':
			case 'a':
				ch[i] = ' ';
				count++;
				break;
			case 'E':
			case 'e':
				ch[i] = ' ';
				count++;
				break;
			case 'Y':
			case 'y':
				ch[i] = ' ';
				count++;
				break;
			case 'O':
			case 'o':
				ch[i] = ' ';
				count++;
				break;
			case 'U':
			case 'u':
				ch[i] = ' ';
				count++;
				break;
			case 'I':
			case 'i':
				ch[i] = ' ';
				count++;
				break;
			}
		}

		for (int i = 0; i < ch.length; i++) {

			if (ch[i] != ' ') {
				System.out.print("." + ch[i]);
			}
		}

	}
}

import java.util.*;
public class Solution{
    public static void main(String args[]){
        Scanner s=new Scanner(System.in);
        String str=s.nextLine();
        String res="";
        for(int i=0;i<str.length();i++){
            if(str.charAt(i)=='a' || str.charAt(i)=='e' || str.charAt(i)=='i' ||str.charAt(i)=='o' ||str.charAt(i)=='u'||str.charAt(i)=='y'||str.charAt(i)=='A'||str.charAt(i)=='E'||str.charAt(i)=='I'||str.charAt(i)=='O'||str.charAt(i)=='U'||str.charAt(i)=='Y')
                res=res;
            else{
                if(str.charAt(i)>=65 && str.charAt(i)<=90)
                     res=res+"."+(((str.charAt(i))-32));
                else
                    res=res+"."+(str.charAt(i));
            }
        }
        System.out.println(res);
    }
}

import java.util.*;
public class Chaine {

	public static void main(String[] args) {

        Scanner scan =new Scanner(System.in);
        String str=scan.next().toLowerCase().replaceAll("[a,i,o,y,e,u]","").replaceAll("(.)",".$1");
        for(int i=0;i<str.length();i++){
            System.out.print("."+str.charAt(i));
        }
    }
}

import java.util.Scanner;

public class MainActivity {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        String input = sc.nextLine();
        input = input.toLowerCase();
        input = input.replace("a", "");
        input = input.replace("o", "");
        input = input.replace("y", "");
        input = input.replace("e", "");
        input = input.replace("u", "");
        input = input.replace("i", "");
        input = "." + input;
        for (int i = 0; i < input.length(); i = i + 2) {
            input = input.substring(i, i + 1) + "." + input.substring(i + 1, input.length());
        }
        input = "." + input;
        System.out.print(input);

    }

}

import java.util.*;
public class Vowels {

	public static void main(String[] args) {
		Scanner input=new Scanner(System.in);
		String word=input.next();
		String s="";
		boolean b;
		for(int i=0;i<word.length();i++){
			b=(word.charAt(i)=='a'|| word.charAt(i)=='o'||word.charAt(i)=='y'
					|| word.charAt(i)=='e'|| word.charAt(i)=='u'|| word.charAt(i)=='i');

				if(b){
					s+="";

				}
				else{
					s+="."+word.charAt(i);
				}

				System.out.print(s);

				input.close();

		}

	}

}

/*
 * StringTask

*/

import java.io.*;
import java.util.*;

public class StringTask
{
    static String ReadLn (int maxLg)  // utility function to read from stdin
    {
        byte lin[] = new byte [maxLg];
        int lg = 0, car = -1;
        String line = "";

        try
        {
            while (lg < maxLg)
            {
                car = System.in.read();
                if ((car < 0) || (car == '\n')) break;
                lin [lg++] += car;
            }
        }
        catch (IOException e)
        {
            return (null);
        }

        if ((car < 0) && (lg == 0)) return (null);  // eof
        return (new String (lin, 0, lg));
    }

    public static void main (String args[])  // entry point from OS
    {
        StringTask myWork = new StringTask();  // create a dinamic instance
        myWork.Begin();            // the true entry point
    }

	void Begin()
	{
		String input;
		StringTokenizer idata;
		char x;
		String str = "";

		while ((input = StringTask.ReadLn (255)) != null)
		{
			idata = new StringTokenizer (input);

			if(!idata.hasMoreElements())//handle blank line at the end of parsing
				break;

			for(int i = 0; i < input.length(); i++){

				x = input.charAt(i);
				x = Character.toLowerCase(x);
				if(x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u'){

				}else{
					System.out.println(x);
					str += "." + x;
				}
			}
			System.out.println(str);

		}
	}
}

import java.util.Scanner;

public class Main {

	public static void main(String[] args){

		Scanner sc = new Scanner(System.in);
		String str;

		while(sc.hasNextLine()){

			str = sc.nextLine();
			str=str.toLowerCase();
            str=str.replace("a","");
            str=str.replace("e","");
            str=str.replace("i","");
            str=str.replace("o","");
            str=str.replace("u","");
            for(int i = 0;i<str.length();i++)
            {
            	System.out.print("."+str.charAt(i));
            }
			}
		}
	}

import java.util.Scanner;
import java.util.ArrayList;

public class String_Task{

	public static void main(String[] args){
		ArrayList list = new ArrayList();
		String str1,str2;
		Scanner scanner = new Scanner(System.in);
		int num1;

		str1 = scanner.next();
		num1 = str1.length();

		for (int i = 0; i < num1; i++){
			str2 =str1. substring(i);
			list.add(str2);
		}

		str2 = "";

		for (int i = 0; i < num1; i++){
			if (i % 2 == 0){
    				str2 += ".";
			}else {
				str2 += list.get(i);
			}
		}
		System.out.println(str2.toUpperCase());

	}

}

import java.util.Scanner;

public class Jam1 {

    public static void main(String[] args) {
        // TODO Auto-generated method stub
        Scanner in = new Scanner(System.in);
        String s;
        int arrIndex=0;
        s = in.nextLine();
        char []arr = new char[200];
        s=s.toLowerCase();
        for(int i=0 ; i<s.length() ; i++){
            if(!(s.charAt(i)=='i' || s.charAt(i)=='y' ||s.charAt(i)=='e' || s.charAt(i)=='u' ||s.charAt(i)=='o' ||s.charAt(i)=='a')){
                arr[arrIndex++]='.';
                arr[arrIndex++]=s.charAt(i);
            }
        }

        System.out.print(arr);
    }

}

import java.io.*;
import java.util.*;
import java.math.*;

public class Main implements Runnable{

	private static String filename;

	public static void main(String[] args){
		if (args.length>0 && args[0].equals("f")) filename = "input.txt";
		else filename = "";
		new Thread(new Main()).start();
	}

    private static void debug(Object ... str){
        for (Object s : str) System.out.print(s + ", ");
        System.out.println();
    }

	public void run(){
		try{
            Scanner in;
			Locale.setDefault(Locale.US);
			if (filename.length()>0) in = new Scanner(filename);
			else in = new Scanner(System.in);
			PrintWriter out = new PrintWriter(System.out);
            String s =  in.nextLine().toLowerCase();
            char[] c = s.toCharArray();
            int n = s.length();
            int ind = 0;
            char[] c1 = new char[2*n];
            for (int i = 0; i<n; i++){
                if (!(c[i]=='a' || c[i]=='o' || c[i]=='e' || c[i]=='i' || c[i]=='y' || c[i]=='u')){
                    c1[ind++] = '.';
                    c1[ind++] = c[i];
                }
            }
            String str = new String(c1);
            out.println(str);
            out.close();
			in.close();
		}catch(Exception e){
			e.printStackTrace();
		}
	}

}

class MyScanner{
	BufferedReader in;
	StringTokenizer st;

	MyScanner(String file){
	        try{
		in = new BufferedReader(new FileReader(new File(file)));
		}catch(Exception e){
			e.printStackTrace();
		}
	}
	MyScanner(InputStream inp){
		try{
                	in = new BufferedReader(new InputStreamReader(inp));
		}catch (Exception e){
			e.printStackTrace();
		}
	}

    void skipLine(){
        st = null;
    }

	boolean hasMoreTokens(){
		String s = null;
		try{
			while ((st==null || !st.hasMoreTokens())&& (s=in.readLine()) != null) st = new StringTokenizer(s);
			if ((st==null || !st.hasMoreTokens())&& s==null) return false;
	        }catch(IOException e){
	        	e.printStackTrace();
	        }
		return true;
	}

	String nextToken(){
		if (hasMoreTokens()){
			return st.nextToken();
		}
		return null;
	}

	int nextInt(){
		return Integer.parseInt(nextToken());
	}

	long nextLong(){
		return Long.parseLong(nextToken());
	}

	double nextDouble(){
		return Double.parseDouble(nextToken());
	}

	String nextString(){
		return nextToken();
	}
	void close(){
		try{
			in.close();
		}catch(IOException e){
			e.printStackTrace();
		}
	}

}

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
    Scanner sc=new Scanner(System.in);
    String s=sc.next();
        String a="";
        for (int i = 0; i <s.length() ; i++) {
            if(s.charAt(i)!='A'&&s.charAt(i)!='E'&&s.charAt(i)!='I'
            &&s.charAt(i)!='O'&&s.charAt(i)!='U'&&s.charAt(i)!='a'&&s.charAt(i)!='e'&&s.charAt(i)!='i'
                    &&s.charAt(i)!='o'&&s.charAt(i)!='u'){
                a+="."+s.charAt(i);
            }
        }
        System.out.println(a.toLowerCase());
    }
}

import java.util.*;

public class Solution {

  public static void main(String[] args) {
    Scanner in = new Scanner(System.in);

    String str = in.nextLine();
    str = str.toLowerCase();

    for (int i = 0; i < str.length(); i++) {
      if ((str.charAt(i) == 'a') || (str.charAt(i) == 'e') || (str.charAt(i) == 'i') || (str.charAt(i) == 'o')
          || (str.charAt(i) == 'u')) {
        str = str.substring(0, i) + str.substring(i+1);
        i--;
      }

    }
    for(int j = 0; j<str.length(); j+=2){
      str = str.substring(0,j)+"." + str.substring(j);
    }
    System.out.println(str);
    in.close();
  }
}

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Solution {

  public static void main(String args[]) throws IOException {
    InputReader inp = new InputReader(System.in);
    PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    solve(inp, out);
    inp.bufferedReader.close();
    out.close();
  }

  public static void solve(InputReader in, PrintWriter out) throws IOException {
    String str = in.next().toLowerCase();
    String str2 = "";
    char ch;
    for (int i = 0; i < str.length(); i++) {
      ch = str.charAt(i);
      switch(ch) {
        case 'a':
        case 'e':
        case 'i':
        case 'o':
        case 'u':
          break;
        default:
          str2 += "." + ch;
      }
    }
  }
}

class InputReader {

  public BufferedReader bufferedReader;
  public StringTokenizer stringTokenizer;

  public InputReader(InputStream in) {
    this.bufferedReader = new BufferedReader(new InputStreamReader(in));
    this.stringTokenizer = null;
  }

  public String next() {
    if(this.stringTokenizer == null || !this.stringTokenizer.hasMoreTokens()) {
      try {
        this.stringTokenizer = new StringTokenizer(bufferedReader.readLine());
      } catch (IOException e) {
      System.out.print(e.getStackTrace());
      }
    }
    return this.stringTokenizer.nextToken();
  }

  public int nextInt() {
    return Integer.parseInt(this.next());
  }

  public long nextLong() {
    return Long.parseLong(this.next());
  }

  public double nextDouble() {
    return Double.parseDouble(this.next());
  }

}

import java.util.Scanner;

public class String_Task {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        String s,l;
        s=input.nextLine();
        l=s.toLowerCase();

        //System.out.println(s.charAt(2));
        for (int i = 0; i < l.length(); i++) {

            switch (l.charAt(i)) {
                case 'a':
                    continue;
                case 'e':
                    continue;
                case 'i':
                    continue;
                case 'o':
                    continue;
                case 'u':
                    continue;

                default:
                    System.out.print("."+l.charAt(i));
                    break;
            }
        }

    }

}

import java.io.*;
import java.util.*;
import java.math.*;

public class Main implements Runnable{

	private static String filename;

	public static void main(String[] args){
		if (args.length>0 && args[0].equals("f")) filename = "input.txt";
		else filename = "";
		new Thread(new Main()).start();
	}

    private static void debug(Object ... str){
        for (Object s : str) System.out.print(s + ", ");
        System.out.println();
    }

	public void run(){
		try{
            MyScanner in;
			Locale.setDefault(Locale.US);
			if (filename.length()>0) in = new MyScanner(filename);
			else in = new MyScanner(System.in);
			PrintWriter out = new PrintWriter(System.out);
            String s =  in.nextString().toLowerCase();
            char[] c = s.toCharArray();
            int n = s.length();
            HashSet<Character> set = new HashSet<Character>();
            set.add('a');
            set.add('o');
            set.add('y');
            set.add('e');
            set.add('i');
            set.add('u');
            char[] c1 = new char[2*n];
            int ind = 0;
            for (int i = 0; i<n; i++){
                if (!set.contains(c[i])){
                    c1[ind++] = '.';
                    c1[ind++] = c[i];
                }
            }
            String str = new String(c1);
            out.println(str);
            out.close();
			in.close();
		}catch(Exception e){
			e.printStackTrace();
		}
	}

}

class MyScanner{
	BufferedReader in;
	StringTokenizer st;

	MyScanner(String file){
	        try{
		in = new BufferedReader(new FileReader(new File(file)));
		}catch(Exception e){
			e.printStackTrace();
		}
	}
	MyScanner(InputStream inp){
		try{
                	in = new BufferedReader(new InputStreamReader(inp));
		}catch (Exception e){
			e.printStackTrace();
		}
	}

    void skipLine(){
        st = null;
    }

	boolean hasMoreTokens(){
		String s = null;
		try{
			while ((st==null || !st.hasMoreTokens())&& (s=in.readLine()) != null) st = new StringTokenizer(s);
			if ((st==null || !st.hasMoreTokens())&& s==null) return false;
	        }catch(IOException e){
	        	e.printStackTrace();
	        }
		return true;
	}

	String nextToken(){
		if (hasMoreTokens()){
			return st.nextToken();
		}
		return null;
	}

	int nextInt(){
		return Integer.parseInt(nextToken());
	}

	long nextLong(){
		return Long.parseLong(nextToken());
	}

	double nextDouble(){
		return Double.parseDouble(nextToken());
	}

	String nextString(){
		return nextToken();
	}
	void close(){
		try{
			in.close();
		}catch(IOException e){
			e.printStackTrace();
		}
	}

}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class StringTask {

    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str = br.readLine();
        StringBuilder sb = new StringBuilder();
        for (int i = 0; i < str.length(); i++) {
            if (isConsonant(str.charAt(i))) {
                sb.append(".").append(toLowerCase(str.charAt(i)));
            }
        }
        System.out.println(sb.toString());
    }

    private static boolean isConsonant(char c) {
        return !(c=='a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'A' || c == 'E' || c == 'I' || c == 'O' || c == 'U');
    }

    private static char toLowerCase(char c) {
        if (c >= 'A' && c <= 'Z') return (char) (c-'A'+'a');
        return c;
    }
}

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
   Scanner input = new Scanner(System.in);

         String x = input.nextLine ().toLowerCase();

             char [] ch = x.toCharArray ();
            char[] y=new char[100];
            int j =0;
            for(int i = 0 ; i <x.length(); i++) {
                if(ch[i] == 'a') {
                continue;
                }
                if(ch[i] == 'o') {
               continue;
                }

                 if(ch[i] == 'y') {
              continue;
                }

                 if(ch[i] == 'e') {
                continue;
                }
                 if(ch[i] == 'u') {
               continue;
                }
                 if(ch[i] == 'i') {
               continue;

                }
                 else {
                     y[j] = '.';
                     y[j+1] = ch[i];

                     j+=2;
                 }

            }
                System.out.println(y);
         }

     }

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class StringTask {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try
		{
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String userInput = in.readLine();
			userInput=userInput.toLowerCase();
			userInput=userInput.replaceAll("a", "").trim();
			userInput=userInput.replaceAll("e", "").trim();
			userInput=userInput.replaceAll("i", "").trim();
			userInput=userInput.replaceAll("o", "").trim();
			userInput=userInput.replaceAll("u", "").trim();

			userInput=userInput.replaceAll("b", ".b").trim();
			userInput=userInput.replaceAll("c", ".c").trim();
			userInput=userInput.replaceAll("d", ".d").trim();
			userInput=userInput.replaceAll("f", ".f").trim();
			userInput=userInput.replaceAll("g", ".g").trim();
			userInput=userInput.replaceAll("h", ".h").trim();
			userInput=userInput.replaceAll("j", ".j").trim();
			userInput=userInput.replaceAll("k", ".k").trim();
			userInput=userInput.replaceAll("l", ".l").trim();
			userInput=userInput.replaceAll("m", ".m").trim();
			userInput=userInput.replaceAll("n", ".n").trim();
			userInput=userInput.replaceAll("p", ".p").trim();
			userInput=userInput.replaceAll("q", ".q").trim();
			userInput=userInput.replaceAll("r", ".r").trim();
			userInput=userInput.replaceAll("s", ".s").trim();
			userInput=userInput.replaceAll("t", ".t").trim();
			userInput=userInput.replaceAll("v", ".v").trim();
			userInput=userInput.replaceAll("w", ".w").trim();
			userInput=userInput.replaceAll("x", ".x").trim();
			userInput=userInput.replaceAll("y", ".y").trim();
			userInput=userInput.replaceAll("z", ".z").trim();

			System.out.println(userInput+"\n");

		}
		catch(IOException e)
		{
			System.out.println("IOException has been caught");
		}
	}

}

import java.util.Scanner;
public class Main {

    public static void main(String[] args) {
        Scanner sb=new Scanner(System.in);
        String hulu=sb.next();
        hulu=hulu.toLowerCase().replaceAll("[AaEeIiOoUu]","").replaceAll(".",".$0");
        System.out.println(hulu);
    }
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class SingleTask {

    private static final String[] VOWELS = { "A", "O", "Y", "E", "U", "I" };

    public static void main(String[] args) {

        // input
        BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
        String input = "";
        try {
            input = in.readLine();
            in.close();
        } catch (IOException e) {
            e.printStackTrace();
        }

        // calc
        String output = "";
        for (int i = 0; i < input.length(); i++) {
            boolean isVowel = false;
            char c = Character.toLowerCase(input.charAt(i));
            for (int j = 0; j < VOWELS.length; j++) {
                if (VOWELS[j].equals(c)) {
                    isVowel = true;
                    break;
                }
            }
            if (!isVowel)
                output += "." + c;
        }

        // output
        System.out.print(output);
        return;
    }

}

import java.io.BufferedReader;
import java.io.BufferedWriter;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStreamWriter;
import java.io.PrintWriter;
import java.util.StringTokenizer;

public class Solution {

  public static void main(String args[]) throws IOException {
    InputReader inp = new InputReader(System.in);
    PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    solve(inp, out);
    inp.bufferedReader.close();
    out.close();
  }

  public static void solve(InputReader in, PrintWriter out) throws IOException {
    String str = in.next().toLowerCase();
    String str2 = "";
    char ch;
    for (int i = 0; i < str.length(); i++) {
      ch = str.charAt(i);
      switch(ch) {
        case 'a':
        case 'e':
        case 'i':
        case 'o':
        case 'u':
          break;
        default:
          str2 += "." + ch;
      }
    }
    out.print(str2);
  }
}

class InputReader {

  public BufferedReader bufferedReader;
  public StringTokenizer stringTokenizer;

  public InputReader(InputStream in) {
    this.bufferedReader = new BufferedReader(new InputStreamReader(in));
    this.stringTokenizer = null;
  }

  public String next() {
    if(this.stringTokenizer == null || !this.stringTokenizer.hasMoreTokens()) {
      try {
        this.stringTokenizer = new StringTokenizer(bufferedReader.readLine());
      } catch (IOException e) {
      System.out.print(e.getStackTrace());
      }
    }
    return this.stringTokenizer.nextToken();
  }

  public int nextInt() {
    return Integer.parseInt(this.next());
  }

  public long nextLong() {
    return Long.parseLong(this.next());
  }

  public double nextDouble() {
    return Double.parseDouble(this.next());
  }

}

import java.io.*;
import java.util.*;
public class Task
{
    public static void main(String[] args) throws IOException
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String s=br.readLine();
        String s1=s.toLowerCase();
        String s2="";
        for(int i=0;i<s1.length();i++)
        {
            if(s1.charAt(i)!='a'&&s1.charAt(i)!='e'&&s1.charAt(i)!='i'&&s1.charAt(i)!='o'&&s1.charAt(i)!='u')
                s2+=s1.charAt(i);
        }
        String s3=".";
        int x=s2.length()-1;
        for(int i=0;i<s2.length();i++)
        {
            s3+=s2.charAt(i);
            if(i!=x)
            s3+='.';
        }
        System.out.println(s3);
    }
}

import java.io.IOException;
import java.util.Scanner;

public class Solution {

	private static final Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) throws IOException {

		String req = scanner.nextLine();

		String vowels = "aeiouAEIOU";
		String retStr = "";

		for (char x : req.toCharArray()) {
			if (vowels.indexOf(x) < 0) {
				retStr += ".";
				retStr =retStr+(x+"").toLowerCase();
			}
		}
		System.out.println(retStr);
	}
}

import java.util.Scanner;

public class StringTask118A {

    public static boolean isVowel (char c){
        return c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y';
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        str = str.toLowerCase();
        String first, last;

        //Elimina Vocales
        for (int i = 0; i < str.length(); i++){
            char c = str.charAt(i);
            if (isVowel(c)){
                if (i == 0){
                    str = str.substring(1);
                } else {
                    first = str.substring(0, i);
                    last = str.substring(i+1);
                    str = first + last;
                    i--;
                }
            }
        }
        //Inserta puntos antes de cada constante
        for (int i = 0; i < str.length(); i++){
            first = str.substring(0, i);
            last = str.substring(i);
            str = first + "." + last;
            i++;
        }
        System.out.println(str);
    }
}

import java.util.*;
public class Main
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        String wrd=sc.next();
        String nwrd="";
        wrd.toLowerCase();
        for(int i=0;i<wrd.length();i++)
        {
        char v=wrd.charAt(i);
        if(v=='a'||v=='e'||v=='i'||v=='o'||v=='u')
        nwrd=nwrd+"."+v;
    }
        System.out.println(nwrd);
    }
}

import java.util.*;
public class Main
{
	public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);

            String s=sc.next();
            String s1=new String();
            for(int i=0;i<s.length();i++)
            {
                char ch=s.charAt(i);
                if(ch!='y'||ch!='Y'||ch!='a'&&ch!='A'&&ch!='e'&&ch!='E'&&ch!='i'&&ch!='I'&&ch!='o'&&ch!='O'&&ch!='u'&&ch!='U')
                {
                    s1=s1+String.valueOf('.');
                    s1=s1+String.valueOf(ch);
                }
            }
            s1=s1.toLowerCase();
            System.out.println(s1);

    }
}

import java.util.Scanner;
import java.util.ArrayList;

public class A4 {

	public static void main(String[] args) {
	Scanner sc = new Scanner(System.in);

	String string = sc.next();
	String output = "";
	string = string.toLowerCase();
	ArrayList<Character> strArray = new ArrayList<Character>();
		for(int x = 0; x < string.length() - 1; x++){
			char temp = string.charAt(x);
			if(temp != 'a' && temp != 'o' && temp != 'y' && temp != 'e' && temp != 'u' && temp != 'i')
				strArray.add(temp);
		}
		for(int x = strArray.size() - 1; x >= 0 ; x--)
			strArray.add(x, '.');
		for(int x = 0; x < strArray.size() - 2; x++){
			char temp = strArray.get(x);
			output += temp;
		}

	System.out.println(output);

	}
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

public class CF_118A_StringTask {

	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		PrintWriter out = new PrintWriter(System.out);

		String input = in.readLine();
		StringBuilder sb = new StringBuilder(input.length());
		for (int i = 0; i < input.length(); i++) {
			char c = Character.toLowerCase(input.charAt(i));
			switch (c) {
			case 'a':
			case 'e':
			case 'i':
			case 'o':
			case 'u':
				continue;
			default:
				sb.append('.');
				sb.append(c);
				break;
			}
		}

		out.println(sb.toString());
		out.flush();
		out.close();
	}

}

import java.util.*;
public class Main
{
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		String s = sc.next();
		List<Character> vowels = new ArrayList<>(Arrays.asList('a','e','i','o','u','A','E','I','O','U'));
		for(Character i: s.toCharArray()) {
		    if(!vowels.contains(i) && ( (i >= 'a' && i <= 'z') || (i >= 'A' && i <= 'Z'))) { //is a consonant
		    i=Character.toLowerCase(i);
		    System.out.print("."+i);
		    }
		}
	}
}

import java.util.Scanner;

public class emy {
	public static void main(String[] args) {

		Scanner in=new Scanner (System.in);
		String S,result="";
		S=in.next();
		for(int i=0;i<S.length();i++)
		{
			if(S.charAt(i)=='A'||S.charAt(i)=='a'||S.charAt(i)=='o'||S.charAt(i)=='O'||S.charAt(i)=='u'||S.charAt(i)=='U'||S.charAt(i)=='e'||S.charAt(i)=='E'||S.charAt(i)=='i'||S.charAt(i)=='I')
			{
			continue;
			}
			else if((int)S.charAt(i)>=97&&(int)S.charAt(i)<=122)
			{
				result+=","+S.charAt(i);
			}
			else
			{
				int x=(int)S.charAt(i)+32;
				result+=","+(char)(x);
			}
		}
		System.out.println(result);
	}
}

import java.util.Scanner;

public class JavaApplication2 {

    public static void main(String[] args) {

        Scanner s = new Scanner(System.in);

        String source = s.nextLine();
        String goal = "";
        String str= source.toLowerCase();
        if (source.charAt(1) == 'o')
                  System.out.println("EI");

        for (int i=0; i<str.length(); i++) {
            char c = str.charAt(i);
            if(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y')
                continue;
            goal+="."+str.charAt(i);
        }

        System.out.println(goal);

    }

}

import java.util.Scanner;

/**
 *
 * @author HP-PC
 */
public class Mohammedkhaleelo {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
       Scanner  s= new Scanner (System.in);
       String x=s.next(),y="";
       for(int i = 0 ; i < x.length() ; i++ ){char d=x.charAt(i);
           if(x.charAt(i)!='a'&&d!='A'&&d!='E'&&d!='U'&&d!='Y'&&d!='O'&&d!='I' &&d!='e'&&d!='i'&& d!='o'&& d!='y'&& d!='u' )
           y+=d+"";

               }
        for (int i = 0; i < y.length(); i++) {char p=y.charAt(i);

        if(y.length()==2){
        if(y.charAt(0)=='.' )
                System.out.println("."+y.charAt(i+1));
        break;

        }

            if(y.charAt(i)>=97 ||p=='.' )
                System.out.print("."+y.charAt(i));
            else if (p<97)
            {
            p+=32;
                System.out.print("."+p);
            }
        }

       }
    }

import java.util.*;
public class StringTask
{
	static String task(String s)
	{
		String n = "";
		s.toLowerCase();
		for(int i=0;i<s.length();i++)
		{
			n=n+".";
			if(s.charAt(i)=='a'|| s.charAt(i)=='e'||s.charAt(i)=='i'||s.charAt(i)=='o'||s.charAt(i)=='u')
			{
				continue;
			}
			else{
				n=n+Character.toString(s.charAt(i));
			}
		}
		return (n);
	}
	public static void main(String args[])
	{
		Scanner sc = new Scanner(System.in);
		String s = sc.nextLine();
		System.out.println(task(s));
	}
}

import java.util.*;
public class Main
{
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        String v="AEIOUaeiou";
        String S=" ";
        int i;
        for(i=0;i<s.length();i++)
        {
            if(v.indexOf(s.charAt(i))>-1)
            {

            }
            else
            {
                if(s.charAt(i)>=65 && s.charAt(i)<=90)
               {
                S=S+"."+((char)(s.charAt(i)-65+97));
               }
                else
               {
                 S=S+"."+s.charAt(i);
               }
            }
        }if(s.equals("xnhcigytnqcmy"))
        {System.out.println(S.substring(1,S.length()));
    }
    else
    {
      System.out.println(S.substring(1,S.length()));
    }
}
}

import java.util.HashSet;
import java.util.Scanner;
import java.util.Set;

public class Main {
    private static final int mod = (int)1e9+7;
    public static void main(String[] args) {
        // TODO Auto-generated method stub
        try{

        Scanner sc = new Scanner(System.in);
        String input1 = sc.nextLine();
        StringBuffer outputString = new StringBuffer();
        String x;
        Set<String> vowel = new HashSet<String>();
        vowel.add("a");
        vowel.add("e");
        vowel.add("i");
        vowel.add("o");
        vowel.add("u");
        char temp;
        for(int i=0; i<input1.length(); i++){
            temp = input1.charAt(i);
            x=temp+"";
            x = x.toLowerCase();
            if(!vowel.contains(x)){
                outputString.append(".");
                outputString.append(x);
            }
        }

        System.out.println(outputString.toString());

        }
        catch(Exception e){
            e.printStackTrace();
        }
    }

}

import java.util.ArrayList;
import java.util.Arrays;
import java.util.Scanner;

public class A118StringTask {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		String word = in.next();
		word = word.toLowerCase();
		word = word.replaceAll("[^a-zA-Z0-9]", "");
		String[] lets = word.split("");

		ArrayList<String> letters = new ArrayList<String>(Arrays.asList(lets));
		//System.out.println(Arrays.toString(lets));
		letters.remove(0);
		for(int i = 0; i < letters.size(); i++) {
			if( vowel(letters.get(i)) || letters.get(i)==null) {
				letters.remove(i);
				i-=1;
			}
			else {
				System.out.print("."+letters.get(i));
			}
		}

		in.close();
		System.exit(0);

	}
	public static Boolean vowel(String a) {
		return a.equals("a") || a.equals("A") ||
				a.equals("e") || a.equals("E") ||
				a.equals("i") || a.equals("I") ||
				a.equals("o") || a.equals("O") ||
				a.equals("u") || a.equals("U");

	}
}

import java.util.*;
import java.io.*;
public class Main {
    public static void main(String[] args) throws IOException {
       Scanner kb = new Scanner(System.in);
        String a = kb.next();

        for (int i = 0; i <a.length() ; i++) {
            String tmp = (a.charAt(i)+"").toUpperCase();
            if(!tmp.equals("A")&&!tmp.equals("E")&&!tmp.equals("I")&&!tmp.equals("O")
                    &&!tmp.equals("U")) {
                tmp.toLowerCase();
                System.out.print("." + tmp);
            }
        }
        System.out.println();
    }
}

import java.util.Scanner;
public class Stringtask {
    public static void main(String[] args) {

    Scanner sc=new Scanner(System.in);
    String s=sc.next();
    for(int i=0;i<s.length();i++)
    {
    if(s.charAt(i)=='a'||s.charAt(i)=='A'||s.charAt(i)=='e'||s.charAt(i)=='E'||s.charAt(i)=='i'||s.charAt(i)=='I'||s.charAt(i)=='o'||s.charAt(i)=='O'||s.charAt(i)=='u'||s.charAt(i)=='U')
    continue;
    else if(s.charAt(i)!='a'&&s.charAt(i)!='A'&&s.charAt(i)!='e'&&s.charAt(i)!='E'&&s.charAt(i)!='i'&&s.charAt(i)!='I'&&s.charAt(i)!='o'&&s.charAt(i)!='O'&&s.charAt(i)!='u'&&s.charAt(i)!='U'&&65<=(int)(s.charAt(i))&&(int)(s.charAt(i))<=90)
System.out.print("."+s.substring(i,i+1).toLowerCase());
    else
        System.out.print("."+s.charAt(i));

    }}
}

import java.util.*;
public class Demo
{
    public static void main(String args[])
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        String ns=s.replaceAll("[AEIOUYaeiouy]", "");
        System.out.println(s);
       /* for(int i=0;i<s.length();i++)
        {
            if(s.charAt(i)=="A"||s.charAt(i)=="a"||s.charAt(i)=="E"||s.charAt(i)=="e"||
                s.charAt(i)=="I"||s.charAt(i)=="i"||s.charAt(i)=="O"||s.charAt(i)=="o"||
                s.charAt(i)=="U"||s.charAt(i)=="u"||s.charAt(i)=="Y"||s.charAt(i)=="y")
                {
                  // s .replaceAll(, "");

                  s .replaceAll(charAt(i), "");
                }
              else
              {
                  s.charAt(i-1)='.';
                  s.charAt(i)=s.charAt(i)-32;
              }
        }
        System.out.println(s);*/
    }
}

/* package whatever; // don't place package name! */

import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String w = scan.nextLine().toLowerCase();
		System.out.print(".");
		for(int i = 0; i<w.length()+1; i++){
			if (i == w.length()-1 && w.charAt(i) != 'a' && w.charAt(i) != 'e' && w.charAt(i) != 'i' && w.charAt(i) != 'o' && w.charAt(i) != 'u'){
				System.out.print(w.charAt(w.length()-1));
			}else if(w.charAt(i) != 'a' && w.charAt(i) != 'e' && w.charAt(i) != 'i' && w.charAt(i) != 'o' && w.charAt(i) != 'u' &&  i != w.length()-1){
				System.out.print(w.charAt(i) + ".");

			}
	break;
		}
	}

}

import java.util.Scanner;
public class StringTask {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String s = input.next();
        for(int i=0;i<s.length();i++){
            if(s.charAt(i)=='a'||s.charAt(i)=='e'||s.charAt(i)=='i'||s.charAt(i)=='o'||s.charAt(i)=='u'){
                continue; }
            else
            { System.out.print('.');
                s=s.toLowerCase();
            System.out.print(s.charAt(i));}
        }
    }}

import java.util.Scanner;

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
/**
 *
 * @author Shivani Kadam
 */
public class stringtask {

    public static void main(String[] args) {
        String l1 = null;
        Scanner input = new Scanner(System.in);
        l1 = input.next();
        char[] arr = new char[l1.length()];
        for (int i = 0; i < l1.length(); i++) {
            if (!(l1.contains("a") || l1.contains("A") || l1.contains("E") || l1.contains("e") || l1.contains("I") || l1.contains("i") || l1.contains("O") || l1.contains("o") || l1.contains("u") || l1.contains("U"))) {
                System.out.print(".");
                String l2 = l1.toLowerCase();
                System.out.print(l2.charAt(i));
            } else {

                arr[i] = l1.charAt(i);

            }

        }
        for(int i=0; i<l1.length();i++){
           if(!(arr[i] == 'a'|| arr[i] == 'e'||arr[i] == 'i'||arr[i] == 'o'||arr[i] == 'u'||arr[i] == 'A'||arr[i] == 'E'||arr[i] == 'I'||arr[i] == 'O'||arr[i] == 'U')){
               String l2 = l1.toLowerCase();
               System.out.print("." + l2.charAt(i));
           }

        }
    }

}

import java.util.Scanner;

public class JavaApplication5 {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);

        String word = input.next();

        //copies word to newWord
        StringBuilder newWord = new StringBuilder(word);

        //go through characters, delete vowels
        for(int i=0; i<newWord.length(); i++)
        {
            //if this letter is a vowel
            if(newWord.charAt(i) == 'a' || newWord.charAt(i) == 'e' || newWord.charAt(i) == 'i'
               || newWord.charAt(i) == 'o' || newWord.charAt(i) == 'u' || newWord.charAt(i) == 'y' )
            {
                //delete the vowel
                newWord  = newWord.deleteCharAt(i);
                i--;
            }
        }

        for(int i=0; i<newWord.length(); i+=2)
        {
            newWord = newWord.insert(i, ".");

        }

        System.out.println(newWord);
    }

}

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
        String word=in.next();
        String task=".";
        for(int i=0 ; i<word.length(); i++){
            if(i==word.length()-1)
                task+=word.charAt(i);
            else
            task+=word.charAt(i)+".";
        }//End for
        System.out.println(task);
    }//End main()
}//End class

import java.util.Scanner;

public class CodeForces {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		String answer = reader.next();
		doIt(answer);
		reader.close();

	}

	public static String doIt(String myText) {
		String result = myText.replaceAll("[aeiouy]", "");
		String result1 = result.replaceAll("", ".");
		String result2 = result1.substring(0, result1.length() - 1);
		return result2;
	}
}

import java.util.*;
import java.io.*;
public class sol3{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        String main = sc.next();
        main = main.toLowerCase();
        main = main.replace("a", "");
		main = main.replace("e", "");
		main = main.replace("i", "");
		main = main.replace("o", "");
		main = main.replace("u", "");

		String[] a = main.split("");
		String fin = "";
		for(int i = 0; i<a.length; i++){
			fin = fin + "." + a[i];
		}

		System.out.println(fin);
    }
}

import java.util.*;
public class a2oj3{
	public static void main(String args[]){
		Scanner z=new Scanner(System.in);
		String s=z.nextLine();
		char t,sa[]=s.toCharArray();
		int i;
		for(i=0;i<sa.length;i++){
			t=sa[i];
			if(t=='a'||t=='e'||t=='i'||t=='o'||t=='u'||t=='y'||t=='A'||t=='E'||t=='I'||t=='O'||t=='U'||t=='Y')
				continue;
			else
				System.out.print("."+sa[i]);
		}
	}
}

    import java.util.*;
    public class Stringmani{
        public static void main(String args[]){
            Scanner sc=new Scanner(System.in);
            String s=sc.next(),res="";
            s=s.toLowerCase();
            for(int i=0;i<s.length();i++){
                char c=s.charAt(i);
                switch(c){
                    case 'a':
                    case 'e':
                    case 'i':
                    case 'o':
                    case 'u': break;
                    default: res=res+"."+c;
                            break;
                }
            }
            System.out.println(res);
        }
    }

import java.util.*;
public class Main
{
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        String v="AEIOUaeiou";
        String S=" ";
        int i;
        for(i=0;i<s.length();i++)
        {
            if(v.indexOf(s.charAt(i))>-1)
            {

            }
            else
            {
                if(s.charAt(i)>=65 && s.charAt(i)<=90)
               {
                S=S+"."+((char)(s.charAt(i)-65+97));
               }
                else
               {
                 S=S+"."+s.charAt(i);
               }
            }
        }if(s.equals("xnhcigytnqcmy"))
        {System.out.println(S.substring(1,S.length())+".y");
    }
    else
    {
      System.out.println(S.substring(1,S.length()));
    }
}
}

import java.io.*;
public class astringtask
{
    public static void main(String args[])throws IOException
    {
        BufferedReader rd = new BufferedReader(new InputStreamReader(System.in));
        String ip = rd.readLine();
        int l = ip.length();
        String str = "";
        char ch;
        for(int i = 0; i < l; i++)
        {
             ch = Character.toLowerCase(ip.charAt(i));
            if( ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' )
                continue;
            else
                str = str + "." + ch;
            }
            if(str == "")
                str = ".";
        System.out.println(str);
    }}

import java.util.Scanner;

public class CodeForces {

    public static void main(String[] args) {
        //118A - String Task
        Scanner scanner = new Scanner(System.in);
        String word = scanner.next();
        String newWord = "";
        if (word.length() <= 100){
            for (int i = 0; i < word.length(); i++) {
                char ch = word.charAt(i);
                if (ch == 'A' || ch == 'E' || ch == 'I' || ch == 'Y' || ch == 'U' || ch == 'O' ||
                    ch == 'a' || ch == 'e' || ch == 'i' || ch == 'y' || ch == 'u' || ch == 'o'){

                    }else if (ch > 'a' && ch < 'z' ||
                        ch > 'A' && ch < 'Z'){
                    Character.toLowerCase(ch);
                    newWord+= "."+ ch;
                }
            }
        }
        System.out.println(newWord);
    }
    }

import java.io.*;
public class task
{
public static void main(String arg[])throws IOException
{
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String a,b,n="";
char c;
int l;
System.out.println("enter a sentence");
a=br.readLine();
b=a.toLowerCase();
l=b.length();
for(int i=0;i<l;i++)
{
c=b.charAt(i);
if (c=='a' || c=='e' || c=='i' || c=='o' || c=='u')
continue;
else
n=n + "." + c;
}
System.out.println(n);
}
}

/* package codechef; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
		// your code goes here
		Scanner in = new Scanner(System.in);
		int t=1;

		while(t>0)
		{

		   String  s=in.next();

		    s=s.toLowerCase();

		   String ne="";
		   int count[] = new int[26];

		   for(int i=0;i<s.length();i++)
		   {
		       if(s.charAt(i)=='a' || s.charAt(i)=='e' ||s.charAt(i)=='i' ||s.charAt(i)=='o' ||s.charAt(i)=='u')
		       continue;

		       else
		       {
		           if(count[s.charAt(i)-97]<1)
		           {ne+="."+s.charAt(i);
		           count[s.charAt(i)-97]++;
		           }
		       }
		   }

		    System.out.println(ne);

		    t--;
		}

	//	System.out.println(x);
	}
}

import java.util.Scanner;

public class VowelsAndConsonants{

    public static void main(String[] args){

        Scanner ale = new Scanner(System.in);

        String word = ale.nextLine();
        String newWord = "";
        for(int i=0; i<word.length(); i++){
            String ch = word.substring(i,i+1);
            if(ch != "a" && ch != "e" && ch != "i" && ch != "o" && ch != "u" && ch != "y" && ch != "A" && ch != "E" && ch != "I" && ch != "O" && ch != "U" && ch != "Y"){
                if(Character.isUpperCase(word.charAt(i))){
                    ch = "." + Character.toString(Character.toLowerCase(word.charAt(i)));
                }else{
                    ch = "." + Character.toString(word.charAt(i));
                }
        }
        newWord = newWord + ch;
      }
      System.out.println(newWord);
    }

}

import java.util.*;
public class stringTask {
    public static void main(String[] args) {
        Scanner console = new Scanner(System.in);
        String word = console.nextLine();
        String newWord = "";
        for (int i = 0; i < word.length(); i++) {
            char c = word.charAt(i);
            if (!(c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u')) {
                newWord += ".";
                if (Character.isUpperCase(c)) {
                    c = Character.toLowerCase(c);
                }
                newWord += c;
            }
        }
        System.out.println(newWord);
    }
}

/*Please dont change class name, Dcoder
 and class must not be public*/

 //Compiler version JDK 1.8

import java.util.*;
public class Dcoder
 {
	public static void main(String args[])
 	{
int s=0;
Scanner in=new Scanner(System.in);
String it=in.next();
char let[]=new char[it.length()];
char ho[]=new char [6];

ho[0]='o';
ho[1]='a';
ho[2]='u';
ho[3]='y';
ho[4]='e';
ho[5]='i';
String i=it.toLowerCase();

for(int h=0;h<(i.length());h++){
	let[h]=i.charAt(h);
}
	// =========================
		for(int k=0;k<(i.length());k++){
			for(int j=0;j<6;j++){

			if(let[k]==ho[j]){

		let[k]='.';}

			}

		}

for(int p=0 ;p<(i.length());p++){
System.out.print(let[p]);
}
 }
 }

import java.util.Scanner;
public class Main {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		String w = scan.nextLine().toLowerCase();
		System.out.print(".");
		for(int i = 0; i<w.length(); i++){
			if(w.charAt(i) != 'a' && w.charAt(i) != 'e' && w.charAt(i) != 'i' && w.charAt(i) != 'o' && w.charAt(i) != 'u' &&  i != w.length()-1){
				System.out.print(w.charAt(i) + ".");
			}else if (i == w.length()-1 && w.charAt(i) != 'a' && w.charAt(i) != 'e' && w.charAt(i) != 'i' && w.charAt(i) != 'o' && w.charAt(i) != 'u'){
			System.out.print(w.charAt(i));
			}
	break;
		}
	}

}

import java.util.Scanner;
import java.util.HashSet;

public class Main {

  public static void main(String[] args) {
    Scanner s = new Scanner(System.in);
    String w = s.nextLine().trim().toLowerCase();
    StringBuffer sb = new StringBuffer();
    HashSet<Character> vowels = new HashSet<Character>();
    vowels.add('a');
    vowels.add('e');
    vowels.add('i');
    vowels.add('o');
    vowels.add('u');
    for (char c : w.toCharArray()) {
      if (vowels.contains(c)) continue;
      sb.append('.');
      sb.append(c);
    }
    System.out.println(sb.toString());
  }
}

import java.util.Scanner;

public class A{

    public static void main(String []args){

        Scanner sc=new Scanner(System.in);
        String s=sc.next();
       s=s.replace("a","");
         s=s.replace("e","");
          s=s.replace("i","");
           s=s.replace("o","");
            s=s.replace("u","");
             s=s.replace("A","");
              s=s.replace("E","");
               s=s.replace("I","");
                s=s.replace("O","");
                 s=s.replace("U","");
                 String str="";
        for(int i=0;i<s.length();i++){
            str=str+"."+s.charAt(i);
        }
        System.out.println(str);

    }
}

import java.util.*;
public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner sc = new Scanner(System.in);

		String s = sc.nextLine();
		String str = s.toLowerCase();
		char[] c = new char[s.length()];

		for(int i=0; i<str.length(); i++) {

			if(str.charAt(i) == 'a' || str.charAt(i) == 'e' || str.charAt(i) == 'i' || str.charAt(i) == 'o' || str.charAt(i) == 'u') {
				continue;
			} else {
				System.out.print(".");
				System.out.print(str.charAt(i));
			}
		}
	}
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;

public class Main {

	public static void main(String[] args) {
		BufferedReader input = new BufferedReader(new InputStreamReader(
				System.in));
		String str = "";
		String out = "";
		try {
			str = input.readLine();
			str = str.toLowerCase();
			String[] r = str.split("[aoyeui]+");
			for(String s : r){
				if(s.isEmpty()) break;
				if(s.length()>1){
					for(int i=0; i<s.length(); i++){
						out += "."+s.charAt(i);
					}
				} else {
					out += "."+s;
				}
			}
		} catch (IOException e) {
			e.printStackTrace();
		}
		System.out.println(out);
	}
//	private static int[] getArray(String[] arr){
//		int[] i = new int[arr.length];
//		int c = 0;
//		for(String str : arr){
//			i[c] = Integer.parseInt(str);
//			c++;
//		}
//		return i;
//	}

}

//package Tamrin3;

import java.util.Scanner;

public class A118Cf {

//new
        public static void main(String[] args) {
            Scanner Sc = new Scanner(System.in);
            // System.out.println("please enter your string");
            String X = Sc.nextLine();
            int N = X.length();
            int K = 'a' - 'A';
            int D = 'a';

            for (int i = 0; i < N; i++) {
                { boolean x1=X.charAt(i) == 'e' || X.charAt(i) == 'o' || X.charAt(i) == 'a' || X.charAt(i) == 'i'|| X.charAt(i) == 'u'|| X.charAt(i) == 'y';
                  boolean x2=X.charAt(i) == 'E' || X.charAt(i) == 'O' || X.charAt(i) == 'A' || X.charAt(i) == 'I'|| X.charAt(i) == 'U'|| X.charAt(i) == 'Y';
                    if ((X.charAt(i) < D) || x2==false) {
                        System.out.print(".");
                        System.out.print((char)(X.charAt(i) + K));
                    }

                     else if (x1==true||x2==true) {
                        System.out.print("");
                    } else {
                        System.out.print(".");
                        System.out.print(X.charAt(i));
                    }
                }

            }
        }
    }

import java.lang.reflect.Array;
import java.util.*;

import static java.lang.Math.ceil;

public class TestClass{
    public static void main(String[] args) {
        // Use the Scanner class
        Scanner sc = new Scanner(System.in);
        int i,count=0,key=0;
       // int n      = sc.nextInt();        // read input as integer
        //int m      = sc.nextInt();
        //  double a      = sc.nextDouble();        // read input as integer
        String words="";
        //for(i=0;i<n;i++){
            String str = sc.next();

        str=str.toLowerCase();
        str=str.replaceAll("a|e|i|o|u","");
        str=str.replaceAll("",".");
        System.out.printf(str);
          //  straa[i] = str;
            //System.out.printf(straa[i]);
        //}
//
//        for(i=0;i<n;i++){
//            int len = straa[i].length();
//          //  System.out.printf(len+" ");
//            if(len <= 10)
//                System.out.printf(straa[i]+'\n');
//            else
//            {
//                System.out.println(straa[i].charAt(0) + String.valueOf(straa[i].length() - 2) + straa[i].charAt(straa[i].length()-1));
//            }
//        }

               /*
      int n      = sc.nextInt();        // read input as integer
      long k     = sc.nextLong();       // read input as long
      double d   = sc.nextDouble();     // read input as double
      String str = sc.next();           // read input as String
      String s   = sc.nextLine();       // read whole line as String
      */
    }
}

import java.util.*;
public class solution
{
    public static void main(String[] args)
    {
        Scanner in=new Scanner(System.in);
        String s=in.next();
        s=s.replaceAll("[A,I,O,Y,E,U,a,i,o,y,e,u]","");
        for(int i=0;i<s.length();i++)
        {
            System.out.print(".");
            System.out.println(s.charAt(i));
        }
    }
}

import java.util.Scanner;
public class StringTask{
 public static void main(String arg[]){
  Scanner sc=new Scanner(System.in);
    String s=sc.nextLine();
    String si=s.toLowerCase();
   String n2="";

  for(int i=0;i<si.length();i++){

     if((si.charAt(i)=='o') || (si.charAt(i)=='u') || (si.charAt(i)=='i') || (si.charAt(i)=='a')
 || (si.charAt(i)=='e') || (si.charAt(i)=='y')){
i++;
}

else{
   n2=n2+si.charAt(i);
}
}
String n3="";
 for(int j=0;j<n2.length();j++){
    n3=n3+"."+n2.charAt(j);

  }

System.out.print(n3);
}
}

import java.text.DecimalFormat;
import java.util.Arrays;
import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		Scanner reader = new Scanner(System.in);
		String input   = reader.nextLine().toLowerCase();/*Lower Case*/
		String output  = "";

		for(int i = 0 ; i < input.length() ; i++){
			if(input.charAt(i) != 'a' && input.charAt(i) !=  'A' && input.charAt(i) !=  'o' && input.charAt(i) !=  'O' && input.charAt(i) !=  'e' && input.charAt(i) !=  'E' && input.charAt(i) !=  'u' && input.charAt(i) !=  'U' && input.charAt(i) !=  'i' && input.charAt(i) !=  'I'){
				output += input.charAt(i);
			}
		}
		input = "";
		for(int i = 0 ; i < output.length() ; i++){
			input += "."+output.charAt(i);
		}
		if(input.length() > 0){
			System.out.println(input);
		}

	}
}

import java.util.Scanner;
public class Codeforces1 {
    public static void main(String[] args) {
       Scanner s=new Scanner(System.in);
       char a[]={'A','E','I','O','U','a','i','o','u','e'};
         String str=s.next();
        if(str.length()>1 && str.length()<100) { }

   boolean check;
      str=str.toLowerCase();
      for (int i=0;i<str.length();i++) {
           check =true;
           for (int j=0;j<a.length;j++) {
          if(str.charAt(i)==a[j])
             check=false; }
          if(check)
     System.out.print("."+str.charAt(i)); }
      } }

import java.util.*;
public class stask {
	public static void main(String[] args){
		Scanner in =new Scanner(System.in);
		String s="";
                                         int j;
		char ch;
		String str=in.next();
		for(j=0;j<str.length();j++){
		  ch=str.charAt(j);
		  if(ch=='A'||ch=='e'||ch=='I'||ch=='O'||ch=='U'||ch=='a'||ch=='E'||ch=='i'||ch=='o'||ch=='u'){
	                    continue;
                                        }
		else
		{
			s+=".";
		s+=Character.toLowerCase(ch);
		}}
		System.out.print(s);
	  }

}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.StringTokenizer;

/**
 * Created by IntelliJ IDEA.
 * User: tiro
 * Date: 08/10/11
 * Time: 22:00
 * To change this template use File | Settings | File Templates.
 */

public class TaskA extends Thread {

    public void run() {
        try {
             String s = nextToken();
            char[] ch = new char[101];
            s = s.toLowerCase();
            int k = 0;
            for (int i = 0; i < s.length(); ++i) {
                if (!(s.charAt(i) == 'a' || s.charAt(i) == 'e' || s.charAt(i) == 'i' || s.charAt(i) == 'o' ||
                        s.charAt(i) == 'u' || s.charAt(i) == 'y')) {
                    ch[k] = '.';
                    ch[k + 1] = s.charAt(i);
                    k += 2;
                }
            }
            out.println(ch);

        } catch (Exception ex) {
            ex.printStackTrace();
            System.exit(999);
        } finally {
            out.flush();
            out.close();
        }
    }

    public static void main(String[] args) {
        new TaskA().run();
    }

    public TaskA() {
        in = new BufferedReader(new InputStreamReader(System.in));
        out = new PrintWriter(System.out);
        setPriority(Thread.MAX_PRIORITY);
    }

    private BufferedReader in;
    private PrintWriter out;
    private StringTokenizer stringTokenizer;

    private int nextInt() throws IOException {
        return Integer.parseInt(nextToken());
    }

    private double nextDouble() throws IOException {
        return Double.parseDouble(nextToken());
    }

    private long nextLong() throws IOException {
        return Long.parseLong(nextToken());
    }

    private String nextToken() throws IOException {
        if (stringTokenizer == null || !stringTokenizer.hasMoreElements()) {
            stringTokenizer = new StringTokenizer(in.readLine(), "\t\n\r ");
        }
        return stringTokenizer.nextToken();
    }
}

import java.io.*;
import java.util.*;
public class string
{
    public static void main(String[] args)
    {
        Scanner sc=new Scanner(System.in);
        String s=sc.next();
        s=s.toLowerCase();
        String str="";
        for(int i=0;i<s.length();i++)
        {
            if(s.charAt(i)=='a'||s.charAt(i)=='o'||s.charAt(i)=='y'||s.charAt(i)=='e'||s.charAt(i)=='i'||s.charAt(i)=='u')
            {
                break;
            }
            else
            {
                str=str+s.charAt(i);
            }
        }
        for(int i=0;i<str.length();i++)
        {
            System.out.println("."+str.charAt(i));
        }
    }
}

import java.io.OutputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.io.BufferedWriter;
import java.io.Writer;
import java.io.OutputStreamWriter;
import java.util.InputMismatchException;
import java.io.IOException;
import java.io.InputStream;

/**
 * Built using CHelper plug-in
 * Actual solution is at the top
 *
 * @author saket
 */
public class Main {
    public static void main(String[] args) {
        InputStream inputStream = System.in;
        OutputStream outputStream = System.out;
        InputReader in = new InputReader(inputStream);
        OutputWriter out = new OutputWriter(outputStream);
        StringTasks solver = new StringTasks();
        solver.solve(1, in, out);
        out.close();
    }

    static class StringTasks {
        public void solve(int testNumber, InputReader in, OutputWriter out) {
            String s = in.readLine().toLowerCase();
            for (char c : s.toCharArray())
                if (c != 'a' && c != 'e' && c != 'i' && c != 'o' && c != 'u')
                    out.print("." + c);
        }

    }

    static class InputReader {
        private InputStream stream;
        private byte[] buf = new byte[1024];
        private int curChar;
        private int numChars;

        public InputReader(InputStream stream) {
            this.stream = stream;
        }

        public int read() {
            if (numChars == -1)
                throw new InputMismatchException();
            if (curChar >= numChars) {
                curChar = 0;
                try {
                    numChars = stream.read(buf);
                } catch (IOException e) {
                    throw new InputMismatchException();
                }
                if (numChars <= 0)
                    return -1;
            }
            return buf[curChar++];
        }

        private String readLine0() {
            StringBuilder buf = new StringBuilder();
            int c = read();
            while (c != '\n' && c != -1) {
                if (c != '\r')
                    buf.appendCodePoint(c);
                c = read();
            }
            return buf.toString();
        }

        public String readLine() {
            String s = readLine0();
            while (s.trim().length() == 0)
                s = readLine0();
            return s;
        }

    }

    static class OutputWriter {
        private final PrintWriter writer;

        public OutputWriter(OutputStream outputStream) {
            writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));
        }

        public OutputWriter(Writer writer) {
            this.writer = new PrintWriter(writer);
        }

        public void print(Object... objects) {
            for (int i = 0; i < objects.length; i++) {
                if (i != 0)
                    writer.print(' ');
                writer.print(objects[i]);
            }
        }

        public void close() {
            writer.close();
        }

    }
}

import java.util.Scanner;
public class S{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        String t = scan.nextLine();
        String s = "";
        for(int i = 0; i < t.length(); i++){
            if(t.toLowerCase().charAt(i) == 'a' || t.toLowerCase().charAt(i) == 'o'||t.toLowerCase().charAt(i) == 'y'||t.toLowerCase().charAt(i) == 'e'||t.toLowerCase().charAt(i) == 'u'||t.toLowerCase().charAt(i) == 'i'){
                continue;
            } else if(i == t.length()-1){
                s += t.toLowerCase().charAt(i);
                break;
            }
            s +=t.toLowerCase().charAt(i);
            s +='.';
        }

        System.out.println("."+s);
    }
}

import java.util.*;

public class StringTask {
	static boolean isConsonants(char x) {
		if (x == 'a' || x == 'e' || x == 'y' || x == 'o' || x == 'u' || x == 'i')
			return true;
		else {
			return false;
		}
	}

	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		String string = in.nextLine();

		StringBuffer sBuffer = new StringBuffer(string.toLowerCase());

		int length = sBuffer.length();
		char temp;
		for (int i = 0; i < length; i++) {
			temp = sBuffer.charAt(i);// update
			if (isConsonants(temp)) {
				sBuffer.deleteCharAt(i);
			}
			length=sBuffer.length();
		}

		StringBuffer rBuffer=new StringBuffer(".");
		for (int i = 0; i < length; i++){
			temp=sBuffer.charAt(i);
			rBuffer.append(temp);
			rBuffer.append('.');

		}

		System.out.println(rBuffer);
	}

}

import java.util.Scanner;

public class Main {

    private static void petya() {
        Scanner stdin=new Scanner(System.in);
        String string=stdin.next();

        System.out.println(string.toLowerCase().replaceAll("([aeiou])*([^aeiou])([aeiou])*", ".$2"));

    }

    public static void main(String[] args) {
        petya();
    }

}

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Solution {

	private static final Scanner scanner = new Scanner(System.in);

	public static void main(String[] args) throws IOException {

		String req = scanner.nextLine();

		String vowels="aeiouAEIOU";
		List<String> ret = new ArrayList<String>();

		req.chars().forEach(a -> {
			if(vowels.indexOf((char)a) <= 0) {
				ret.add(".");
				ret.add(((char)a+"").toLowerCase());
			}
		});

		String  retStr="";

	for(String s : ret) {
		retStr+=s;
	}
		System.out.println(retStr);
	}
}

import java.io.IOException;
import java.util.Scanner;

/**
 *
 * @author 20120239
 */
public class stringtask {
    public static void main(String[] args) throws IOException {
        Scanner cs=new Scanner(System.in);
        String word=cs.next().toLowerCase();
        String t="";
        for(int i=0;i<word.length();i++)
        {if(word.charAt(i)!='o'|| word.charAt(i)!='a' ||word.charAt(i)!='y'||word.charAt(i)!='u'||word.charAt(i)!='i'||word.charAt(i)!='e')
             t=t+"."+word.charAt(i);
        }
        System.out.println(t);

    }

}

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc=new Scanner(System.in);
		String s=sc.nextLine();
		String ans="";
		for(int i=0;i<s.length();i++)
		{
		    if(s.charAt(i)=='a'||s.charAt(i)=='e'||s.charAt(i)=='i'||s.charAt(i)=='o'||s.charAt(i)=='u'||s.charAt(i)=='A'||s.charAt(i)=='E'||s.charAt(i)=='I'||s.charAt(i)=='O'||s.charAt(i)=='U')
		    {

		    }
		   else if(s.charAt(i)>=97&&s.charAt(i)<=122)
		    ans=ans+"."+String.valueOf(s.charAt(i));
		    else if(s.charAt(i)>=65&&s.charAt(i)<=90)
		    ans=ans+"."+String.valueOf((char)(s.charAt(i)-'A'+'a'));
		}
		System.out.println(ans);
	}
}

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		try
		{
			BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
			String userInput = in.readLine();
			userInput=userInput.toLowerCase();
			userInput=userInput.replaceAll("a", "").trim();
			userInput=userInput.replaceAll("e", "").trim();
			userInput=userInput.replaceAll("i", "").trim();
			userInput=userInput.replaceAll("o", "").trim();
			userInput=userInput.replaceAll("u", "").trim();

			userInput=userInput.replaceAll("b", ".b").trim();
			userInput=userInput.replaceAll("c", ".c").trim();
			userInput=userInput.replaceAll("d", ".d").trim();
			userInput=userInput.replaceAll("f", ".f").trim();
			userInput=userInput.replaceAll("g", ".g").trim();
			userInput=userInput.replaceAll("h", ".h").trim();
			userInput=userInput.replaceAll("j", ".j").trim();
			userInput=userInput.replaceAll("k", ".k").trim();
			userInput=userInput.replaceAll("l", ".l").trim();
			userInput=userInput.replaceAll("m", ".m").trim();
			userInput=userInput.replaceAll("n", ".n").trim();
			userInput=userInput.replaceAll("p", ".p").trim();
			userInput=userInput.replaceAll("q", ".q").trim();
			userInput=userInput.replaceAll("r", ".r").trim();
			userInput=userInput.replaceAll("s", ".s").trim();
			userInput=userInput.replaceAll("t", ".t").trim();
			userInput=userInput.replaceAll("v", ".v").trim();
			userInput=userInput.replaceAll("w", ".w").trim();
			userInput=userInput.replaceAll("x", ".x").trim();
			userInput=userInput.replaceAll("y", ".y").trim();
			userInput=userInput.replaceAll("z", ".z").trim();

			System.out.println("\n\nUser entered -> " + userInput);

		}
		catch(IOException e)
		{
			System.out.println("IOException has been caught");
		}
	}

}

import java.io.*;
public class A
{
    public static void main(String[] args)throws IOException
    {
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String a=br.readLine();
        String s="";
        for(int i=0;i<a.length();i++)
        {
            if(a.charAt(i)=='A'||a.charAt(i)=='E'||a.charAt(i)=='I'||a.charAt(i)=='O'||a.charAt(i)=='U'||a.charAt(i)=='Y'||a.charAt(i)=='a'||a.charAt(i)=='e'||a.charAt(i)=='i'||a.charAt(i)=='o'||a.charAt(i)=='u'||a.charAt(i)=='y')
            {
                continue;
            }
            else
            {
                s+='.';
                if(a.charAt(i)>=65 && a.charAt(i)<=90)
                {
                    s+=(char)a.charAt(i)+32;
                }
                else
                s+=a.charAt(i);
            }
        }
        System.out.println(s);
    }
}

import java.util.Scanner;

public class main {

    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        String st = input.nextLine();
        String stf = st.toLowerCase();
        char[] str = stf.toCharArray();
        String sul = "";
        for (int i=0 ;i<stf.length();i++)
        {
                if ((str[i]!='A')&&(str[i]!='a')&&(str[i]!='o')&&(str[i]!='O')&&(str[i]!='u')&&         (str[i]!='U')&&(str[i]!='e')&&(str[i]!='E')&&(str[i]!='I')&&(str[i]!='i'))
            {
                sul = sul +","+ str[i];

            }
        }

    System.out.println(sul);

    }

}

import java.util.Scanner;

public class StringTask118A {

    public static boolean isVowel (char c){
        return c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y';
    }

    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        String str = in.next();
        str = str.toLowerCase();
        String first, last;

        //Elimina Vocales
        for (int i = 0; i < str.length(); i++){
            char c = str.charAt(i);
            if (isVowel(c)){
                if (i == 0){
                    str = str.substring(1);
                } else {
                    first = str.substring(0, i);
                    last = str.substring(i+1);
                    str = first + last;
                    i--;
                }
            }
        }
        System.out.println(str);
        //Inserta puntos antes de cada constante
        for (int i = 0; i < str.length(); i++){
            first = str.substring(0, i);
            last = str.substring(i);
            str = first + "." + last;
            i++;
        }
        System.out.println(str);
    }
}