#include <bits/stdc++.h>

using namespace std;

int main(void) {
	string S;
	cin >> S;
	cout << S.substr(0, S.length() - 8) << '\n';
	return 0;
}


### Prompt

Please create a solution in cpp to the following problem:

Rng is going to a festival.

The name of the festival is given to you as a string S, which ends with `FESTIVAL`, from input. Answer the question: "Rng is going to a festival of what?" Output the answer.

Here, assume that the name of "a festival of s" is a string obtained by appending `FESTIVAL` to the end of s. For example, `CODEFESTIVAL` is a festival of `CODE`.

Constraints

* 9 \leq |S| \leq 50
* S consists of uppercase English letters.
* S ends with `FESTIVAL`.

Input

Input is given from Standard Input in the following format:


S


Output

Print the answer to the question: "Rng is going to a festival of what?"

Examples

Input

CODEFESTIVAL


Output

CODE


Input

CODEFESTIVALFESTIVAL


Output

CODEFESTIVAL


Input

YAKINIKUFESTIVAL


Output

YAKINIKU

### Response

```cpp
#include <bits/stdc++.h>

using namespace std;

int main(void) {
	string S;
	cin >> S;
	cout << S.substr(0, S.length() - 8) << '\n';
	return 0;
}


```