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

int main(){
	string s,t="";
	cin >> s;
	int n=s.size();
	int i=0;
	while(i < n && s.at(i)!='.'){
		t+=s.at(i);
		i++;
	}
	cout << t << endl;
	return 0;
}
#include <bits/stdc++.h>
using namespace std;
#define fst ios_base::sync_with_stdio(false);cin.tie(0), cout.tie(0);
#define pb                push_back
#define all(x)            (x).begin(),(x).end()
#define debug(a...)       cout<<#a<<": ";for(auto it:a)cerr<<it<<" ";cout<<endl;
typedef long long ll;
vector<int>a;
void solve(){
	string s;
	cin>>s;
	for(int i=0;i<s.length();i++){
		if (s[i]=='.')break;
		else cout<<s[i];
	}
}

int main(){
#ifndef ONLINE_JUDGE
freopen("input.txt","r",stdin);
freopen("output.txt","w",stdout);
#endif
int t = 1;
// cin >> t;
while(t--){
solve();
}
return 0;
}