#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1000000007;
const double PI = acos(-1);

int main()
{
	string s;
	cin >> s;
	cout << s.substr(0, s.size() - 8) << endl;
}

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

int main() {
  string str;
  cin >> str;

  for (int i = 0; i < str.size() - 8; i++) {
    cout << str[i];
  }
  cout << endl;
}
