-
Notifications
You must be signed in to change notification settings - Fork 0
/
A.cpp
37 lines (34 loc) · 712 Bytes
/
A.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#include <bits/stdc++.h>
using namespace std;
#define fast ios_base::sync_with_stdio(false), cin.tie(nullptr), cout.tie(nullptr);
#define new "\n"
#define ll long long
void input()
{
#ifndef ONLINE_JUDGE
freopen("input.txt", "r", stdin);
#endif
}
class Rectangle
{
private:
};
int main()
{
fast
input();
string s, t;
cin >> s;
transform(s.begin(), s.end(), s.begin(), ::tolower);
for (int i = 0; i < s.size(); i++)
{
if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' || s[i] == 'u' || s[i] == 'y')
continue;
else
{
t += '.';
t += s[i];
}
}
cout << t;
}