#include <iostream>

using namespace std;

int main()
{
    string x,z = "";
    cin>>x;
    for(int i = 0; i < x.length(); i++)
    {
        if(x[i] == '.')
            break;
        z += x[i];
    }
    cout<<z;
    return 0;
}
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define re register int
#define inf 0x7fffffffffffffff
inline int read()
{
	int x=0,f=1;char ch=getchar();
	while(!isdigit(ch)){if(ch=='-')f=-1;ch=getchar();}
	while(isdigit(ch)){x=(x<<3)+(x<<1)+(ch^48);ch=getchar();}
	return f==1?x:-x;
}
signed main()
{
	while(1)
	{
		char x=getchar();
		if(x=='.' || x=='\n')break;
		printf("%c",x);
	}
	return 0;
}