#include <stdio.h>
#include <string.h>

int main() {
	char x[203];
	scanf("%s", x);
	char *dot_pos = strchr(x, '.');
	if (dot_pos) *dot_pos = '\0';
	puts(x);
	return 0;
}

#include <iostream>
#include <iomanip>
#include <algorithm>
#include <vector>
#include <cmath>
#include <set>

using namespace std;
const long double PI = (acos(-1));
const long long MOD = pow(10, 9) + 7;
bool DEBUG = false;

// long long MOD(long long 

int main()
{
	string S, T = {};
	cin >> S;

	for (int i = 0; i < S.size(); i++)
	{
		if (S[i] == '.')
		{
			break;
		}
		T += S[i];
	}
	cout << T << endl;

}
