#include<bits/stdc++.h>
using namespace std;
#define mp make_pair 
#define fi first
#define se second
#define pb push_back
#define pf push_front
#define pob pop_back
#define pof pop_front

typedef long long ll;
typedef unsigned long long ull;
typedef short int si;
typedef pair<int,int> pii;
typedef pair<ll,ll> pll;

const int nMax = 1e6+5;
const ll mod = 1e9+7;

string s,x;

int main(){
	ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

	cin >> s;
	for (int i=0;i<s.size();i++) {
		if (s[i] == '.')
			break;
		x += s[i];
	}
	cout << x << "\n";

	return 0;
}
#include<bits/stdc++.h>
using namespace std;
typedef long long ll;

int main() {
    string s;
    cin>>s;
    if(s.find('.') != s.npos) {
        s=s.substr(0,s.find('.'));
    }
    cout<<s<<endl;
}