#include<bits/stdc++.h>
#define ll long long
#define ld long double
#define pb push_back
#define mp make_pair
#define ff first
#define ss second
#define mod 1000000007
#define all(x) x.begin(),x.end()
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
#pragma GCC optimize("O3")
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("unroll-loops")
using namespace __gnu_pbds;
#define speed ios_base::sync_with_stdio(false);cin.tie(0);


int main() 
{
    speed
    ll t=1,i,j,x;
    
    string s;
    cin>>s;
    string w="";
    for(i=0;i<s.size();i++)
    {
        if(s[i]=='.')
        break;
        w+=s[i];
    }
    cout<<w<<'\n';
}
#include<bits/stdc++.h>
using namespace std;
string s;
int main()
{
	cin>>s;
	for (int i=0;i<s.size();i++)
	{
		if (s[i]!='.') cout<<s[i];
		else break;
	}
	return 0;
}