#include<bits/stdc++.h>
#define lol long long
using namespace std;
int main(){
    string s;
    cin>>s;
    for(int i=0;i<s.size();i++){
        if(s[i]=='.'){
            break;
        }else{
            cout<<s[i];
        }
    }
    cout<<endl;
    return 0;
}
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); i++)
using namespace std;
using ll = long long;
int main() {
  string x;
  cin >> x;
  int a = x.size();
  rep(i, a){
    if(x.at(i) == '.'){
      x.erase(i);
      break;
    }
  }
  cout << x << endl;
  return 0;
}
