A - XXFESTIVAL 解説 /

実行時間制限: 2 sec / メモリ制限: 256 MB

配点 : 100

問題文

りんごさんは、とある祭りに参加しようとしています。

その祭りの名称が FESTIVAL で終わる文字列 S として入力に与えられるので、りんごさんが何の祭りに参加しようしているのかを出力して下さい。

ただし、s の祭りの名称は s の末尾に FESTIVAL1 つだけ追加した文字列であるとします。 例えば CODEFESTIVALCODE の祭りです。

制約

  • 9 \leq |S| \leq 50
  • S は大文字アルファベットのみからなる
  • SFESTIVAL で終わる

入力

入力は以下の形式で標準入力から与えられる。

S

出力

りんごさんが何の祭りに参加しようしているのかを出力せよ。


入力例 1

CODEFESTIVAL

出力例 1

CODE

問題文中の例の通りです。


入力例 2

CODEFESTIVALFESTIVAL

出力例 2

CODEFESTIVAL

CODEFESTIVAL の末尾に FESTIVAL を追加した文字列であるので、これは CODEFESTIVAL の祭りとなります。


入力例 3

YAKINIKUFESTIVAL

出力例 3

YAKINIKU

Score : 100 points

Problem Statement

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?"


Sample Input 1

CODEFESTIVAL

Sample Output 1

CODE

This is the same as the example in the statement.


Sample Input 2

CODEFESTIVALFESTIVAL

Sample Output 2

CODEFESTIVAL

This string is obtained by appending FESTIVAL to the end of CODEFESTIVAL, so it is a festival of CODEFESTIVAL.


Sample Input 3

YAKINIKUFESTIVAL

Sample Output 3

YAKINIKU