#include<bits/stdc++.h>
using namespace std;
typedef long long ll ;
typedef pair<int,int> P ;
#define rep(i,n) for(int i = 0 ; i < n ; i++)

int main(){
    string x ;
    cin >> x ;

    rep(i, x.size()){
        if(x[i] != '.') cout << x[i] ;
        else break ;
    }
}
#include <bits/stdc++.h>
using namespace std;

int main() {
    vector<char> c;
    string s;
    cin >> s;
    for (int i = 0; i < s.size(); i++) {
        if (s.at(i) == '.') break;
        c.push_back(s.at(i));
    }
    for (int i = 0; i < c.size(); i++) {
        cout << c.at(i);
    }
    cout << endl;
    return 0;
}