XXFESTIVAL

AtCoder
IDcode_festival_2017_qualb_a
Time2000ms
Memory256MB
Difficulty
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$ [samples]
Samples
Input #1
CODEFESTIVAL
Output #1
CODE

This is the same as the example in the statement.
Input #2
CODEFESTIVALFESTIVAL
Output #2
CODEFESTIVAL

This string is obtained by appending `FESTIVAL` to the end of `CODEFESTIVAL`, so it is a festival of `CODEFESTIVAL`.
Input #3
YAKINIKUFESTIVAL
Output #3
YAKINIKU
API Response (JSON)
{
  "problem": {
    "name": "XXFESTIVAL",
    "description": {
      "content": "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 answ",
      "description_type": "Markdown"
    },
    "platform": "AtCoder",
    "limit": {
      "time_limit": 2000,
      "memory_limit": 262144
    },
    "difficulty": "None",
    "is_remote": true,
    "is_sync": true,
    "sync_url": null,
    "sign": "code_festival_2017_qualb_a"
  },
  "statements": [
    {
      "statement_type": "Markdown",
      "content": "Rng is going to a festival.\nThe 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 answ...",
      "is_translate": false,
      "language": "English"
    }
  ]
}
Full JSON Raw Segments