#include <iostream>
#include <string>
#include <algorithm>
using namespace std;
int A[10000];
int main()
{
int i = 0;
string s;
cin >> s;
while(1)
{
if(s[i] == '.')
{
for(int j = 1;j <= 4;j++)
{
cout << s[i];
i++;
}
break;
}
else
{
cout << s[i];
}
i++;
}
return 0;
}