#include <bits/stdc++.h>
using namespace std;
int main() {
  int i;
  char a[100];
  gets(a);
  for (i = 0; i < strlen(a); i++) {
    if (tolower(a[i]) == 'a' || tolower(a[i]) == 'e' || tolower(a[i]) == 'i' ||
        tolower(a[i]) == 'o' || tolower(a[i]) == 'u' || tolower(a[i]) == 'y')
      continue;
    else {
      a[i] = tolower(a[i]);
      cout << "." << a[i];
    }
  }
}
