#include <bits/stdc++.h>
int main() {
  int i, j;
  char s[103], s_new[250];
  scanf("%s", s);
  for (i = 0; i < strlen(s); i++) {
    if (s[i] >= 65 && s[i] <= 90) {
      s[i] = s[i] + 32;
    }
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'y') {
      s[i] = '9';
    }
  }
  j = 0;
  for (i = 0; i < strlen(s); i++) {
    if (s[i] != '9') {
      s_new[j] = '.';
      j++;
      s_new[j] = s[i];
      j++;
    }
  }
  s_new[j] = '\0';
  printf("%s\n", s_new);
  return 0;
}
