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

void printmat(const vector<vector<int>>& mat) {
    for (auto row : mat) {
        for (int elem : row)
            cout << elem << " ";
        cout << endl;
    }
}
void printv(const vector<long long>& v) {
    for (int elem : v)
        cout << elem << " ";
    cout << endl;
}
void printvp(const vector<pair<int, int>>& vp) {
    for (auto row : vp) 
        cout << row.first << ", " << row.second << " ; ";
    cout << endl;
}

int main() {
    int T=1, caseIdx=0;
    //cin >> T;  
    while (T--) {
        caseIdx++;
        string x, ans;
        cin >> x;
        auto it = x.find('.');
        ans = x.substr(0, it);
        
        cout << ans << endl;
        //cout << "Case #" << caseIdx << ": " << ans << endl;
    }
}
#include <bits/stdc++.h>
using namespace std;

int main() {
    string inp;
    cin >> inp;
    string ans = "";
    for(int i = 0; i < inp.length(); i++){
        if(inp[i] == '.'){break;}
        else{ans = ans + inp[i];}
    }
cout << ans;
}