public static void main ( String [ ] Args ) {
  Scanner s = new Scanner ( System . in ) ;
  String S = s . nextLine ( ) ;
  String x = "" ;
  for ( int i = 0 ;
  i < S . length ( ) ;
  i ++ ) {
    x = "" ;
    x = x + S . charAt ( i ) ;
    switch ( x ) {
      case "a" : case "e" : case "i" : case "o" : case "A" : case "E" : case "I" : case "O" : case "U" : case "Y" : case "y" : case "u" : S = S . replace ( x , "" ) ;
      i -- ;
      break ;
      default : S = S . substring ( 0 , i ) + "." + S . substring ( i ) ;
      i ++ ;
      break ;
    }
  }
  S = S . toLowerCase ( ) ;
  System . out . println ( S ) ;
}

public static void main ( String [ ] Args ) { Scanner s = new Scanner ( System . in ) ; String S = s . nextLine ( ) ; String x = " " ; for ( int i = 0 ; i < S . length ( ) ; i ++ ) { x = " " ; x = x + S . charAt ( i ) ; switch ( x ) { case " a " : case " e " : case " i " : case " o " : case " A " : case " E " : case " I " : case " O " : case " U " : case " Y " : case " y " : case " u " : S = S . replace ( x , " " ) ; i -- ; break ; default : S = S . substring ( 0 , i ) + " . " + S . substring ( i ) ; i ++ ; break ; } } S = S . toLowerCase ( ) ; System . out . println ( S ) ; }
(method_declaration (modifiers) type: (void_type) name: (identifier) parameters: (formal_parameters (formal_parameter type: (array_type element: (type_identifier) dimensions: (dimensions)) name: (identifier))) body: (block (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (object_creation_expression type: (type_identifier) arguments: (argument_list (field_access object: (identifier) field: (identifier)))))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (local_variable_declaration type: (type_identifier) declarator: (variable_declarator name: (identifier) value: (string_literal))) (for_statement init: (local_variable_declaration type: (integral_type) declarator: (variable_declarator name: (identifier) value: (decimal_integer_literal))) condition: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list))) update: (update_expression (identifier)) body: (block (expression_statement (assignment_expression left: (identifier) right: (string_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (switch_expression condition: (parenthesized_expression (identifier)) body: (switch_block (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal))) (switch_block_statement_group (switch_label (string_literal)) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier) (string_literal))))) (expression_statement (update_expression (identifier))) (break_statement)) (switch_block_statement_group (switch_label) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (decimal_integer_literal) (identifier))) right: (string_literal)) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list (identifier)))))) (expression_statement (update_expression (identifier))) (break_statement)))))) (expression_statement (assignment_expression left: (identifier) right: (method_invocation object: (identifier) name: (identifier) arguments: (argument_list)))) (expression_statement (method_invocation object: (field_access object: (identifier) field: (identifier)) name: (identifier) arguments: (argument_list (identifier))))))