// Created by ...Rahul Chandra
#include <bits/stdc++.h>

#define db1(x) cout<<#x<<"="<<x<<'\n'
#define db2(x,y) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<'\n'
#define db3(x,y,z) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<","<<#z<<"="<<z<<'\n'
#define rep(i,n) for(int i=0;i<(n);++i)
#define repA(i,a,n) for(int i=a;i<=(n);++i)
#define repD(i,a,n) for(int i=a;i>=(n);--i)

using namespace std;
using ll = long long;

ll n;

inline void read() {    
    cin >> n;
}


inline void solve() {    


}


int main()
{
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    long long a,b,c,d,e,f,g,rahul=0;
    string s;
    cin>>s;
    int i=0;
    string k;
    for(auto x:s){
        if (x=='.')
        {
            break;
                        /* code */
        }
        k+=x;   
    }
    cout<<k<<endl;
    return 0;
}
#include<iostream>
using namespace std;
int main(){
    string s,ans="";
    cin>>s;
    for (int i=0;i<s.length();i++){
        if (s[i]!='.') ans+=s[i];
        else break;
    }
    cout<<ans<<endl;
}