#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;
typedef pair<ll,int> P;
typedef tuple<int,int,int> tii;
typedef vector<int> vec;
typedef vector<vec> mat;
typedef pair<pll,pll> ppll;
#define rep(i,s,n) for(int i=(int)(s);i<(int)(n);i++)
#define bit(n,k) (n>>k&1)

ll INFL = ll(5e18)+5;
int INF = 1001001001;
const ll M = (ll)(1e9)+7;
int dx[4] = {-1,1,0,0};
int dy[4] = {0,0,1,-1};

int main(){
  string x; cin >> x;
  int n = x.size();
  string ans = "";
  rep(i,0,n){
    if(x[i]=='.') break;
    ans += x[i];
  }
  cout << ans << endl;
}



// raggarwalg01 

#include<bits/stdc++.h>
using namespace std;


int main(){
    #ifndef ONLINE_JUDGE
        freopen("input.txt","r",stdin);
        freopen("output.txt","w",stdout);
    #endif
    ios_base::sync_with_stdio(false);cin.tie(NULL);typedef int MyCustomType;
    
    string s{};
    cin>>s;
    for(int i=0;i<s.length();i++){
        if(s[i]=='.')
            break;
        else cout<<s[i];
    }


}   