#include<iostream>
using namespace std;

int main()
{
	string a;
	cin >> a;
	if(a.find('.') != string::npos)
	{
		cout << a.substr(0 , a.find('.'));
	}
	else
	{
		cout << a;
	}
	return 0;
 } 
#include <bits/stdc++.h>
#define ll long long
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);
using namespace std;

char s;
 
int main(){
	while(cin >> s){
		if(s=='.') break;
		cout << s;
	}
}