#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <string>
#include <algorithm>
#include <vector>
#include <sstream>
using namespace std;

typedef long long int lli;


int N1, N2, N3,N4;


vector<string> split(const string& s, char delim) {
    vector<string> elems;
    stringstream ss(s);
    string item;
    while (getline(ss, item, delim)) {
        if (!item.empty()) {
            elems.push_back(item);
        }
    }
    return elems;
}


int main()
{
    string str;
    cin >> str;
    vector<string> ss = split(str, '.');
    cout << ss[0] << endl;

    return 0;
}
#include <iostream>
using namespace std;
#define int long long int
int32_t main() {
    
    string x;
    cin>>x;
    
    string ans="";
    for(int i=0;i<x.length();i++)
    {
        if(x[i]=='.')
        {
            break;
        }
        else
        {
            ans+=x[i];
        }
    }
    cout<<ans<<endl;
    
}