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

#define FAST_IO  ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define show(x)  cerr << #x << " = " << x << '\n'
#define endl     '\n'
typedef long long ll;
typedef unsigned long long ull;
const double EPS = 1e-10;  // epsilon
const double PI = acos(-1);
const ll MOD = (ll)1e9 + 7;
const int N = 2e5 + 5;

int t = 1;
string s;

int main()
{
    FAST_IO
    //scanf("%d", &t);
    while (t--)
    {
        cin >> s;
        for (auto& c : s)
        {
            if (c == '.')
                break;
            cout << c;
        }
    }
    return 0;
}
#include <bits/stdc++.h>
using namespace std;
int main()
{
	string x;
	cin>>x;
	int pos;
	if(x.find(".")!=string::npos)
	{
		pos=x.find(".");
		cout<<x.substr(0,pos);
	}
	else
	cout<<x;
	return 0;
}