#include <iostream>
#include <string>
using namespace std;
int main() {
string a;
getline(cin, a);
char *n = new char[a.length()];
int i = 0;
char k = a;
while (k != "." {
n = k;
k = a[i+1];
i++;
}
return 0;
}
#include <string>
using namespace std;
int main() {
string a;
getline(cin, a);
char *n = new char[a.length()];
int i = 0;
char k = a;
while (k != "." {
n = k;
k = a[i+1];
i++;
}
return 0;
}