#include<bits/stdc++.h>
using namespace std;
int main()
{

       int n,m,i;
       char x[1000];
       cin>>x;
       char *dot_pos = strchr(x, '.');
	if (dot_pos) *dot_pos = '\0';
	puts(x);
     cout<<endl;
}

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

const long long INFll = 8223372036854775807;
const int INFii = 1147483647;
const long long mod = (long long) 1e9 + 7;
typedef long long ll;
typedef int ii;
typedef double dbl;
#define endl '\n'
#define S second
#define F first
#define MP make_pair
#define PB push_back

#define maxn 110

string x;

int main() {
    ios::sync_with_stdio(false); cin.tie(0);

    cin >> x;

    for(ii i = 0; i < x.size(); i++) {
        if(x[i] == '.') break;

        cout << x[i];
    }
    
    cout << endl;
    return 0;
}