Problem:
 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

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    s = str(input().rstrip('\n'))
    print(s[:-8])


if __name__ == '__main__':
    slove()

Solution (Python):
S = input()
print(S[0:-8])

Solution (Python):
s = input()
print(s[0:len(s)-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[0:-8])

Solution (Python):
s = input()
print(s[:len(s)-8])

Solution (Python):
s = input()
print(s[:-8:])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
from sys import stdin

def readString() :
    return  stdin.readline().rstrip()

def solve() :
    S = readString()
    pos = S.rfind('FESTIVAL')
    print(S[:pos])
solve()

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
def main():

    
    
    

    S = input()
    return S[:-8]

if __name__ == '__main__':
    print(main())

Solution (Python):
S = input()
r = S[:-len("FESTIVAL")]
print(r)

Solution (Python):
s=list(input())
ans=["" for _ in range(len(s)-8)]
for i in range(len(s)-8):
    ans[i]=s[i]
print(''.join(ans))

Solution (Python):
S=input()

print(S[:-8])

Solution (Python):
def slove():
    import sys
    input = sys.stdin.readline
    s = str(input().rstrip('\n'))
    print(s[:-8])


if __name__ == '__main__':
    slove()

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S = input()
print(S[0:len(S)-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):



import re

S = input()



print(re.sub(r'FESTIVAL$', '', S))

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
s_list = []
for i in s:
    s_list.append(i)
s_list = s_list[:-8]
print(''.join(s_list))

Solution (Python):
print(input()[:-8])

Solution (Python):

s=input()

print(s[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s=input()
print(s[:len(s)-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
N=input()
print(N[0:-8])

Solution (Python):
S = str(input())
print(S[0:len(S)-8])

Solution (Python):

def main():
    s = input()
    print(s[:-8])


if __name__ == "__main__":
    main()

Solution (Python):
print(input()[:-8])

Solution (Python):
def main():
    S = input()
    print(S[:-8])


if __name__ == "__main__":
    main()

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
s=input()
print(s[:len(s)-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = input()
print(S[:S.rfind("FESTIVAL")])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
x=input()
print(x[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[:len(s)-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
string = str(input())
print(string[:len(string) - 8])

Solution (Python):
import bisect
import os
from collections import Counter, deque
from fractions import gcd
from functools import lru_cache
from functools import reduce
import functools
import heapq
import itertools
import math
import numpy as np
import re
import sys

if os.getenv("LOCAL"):
    sys.stdin = open("_in.txt", "r")

sys.setrecursionlimit(2147483647)
INF = float("inf")


S =sys.stdin.readline().rstrip()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = list(input())
del S[-8:]
print("".join(S))

Solution (Python):

import sys
def input(): return sys.stdin.readline().rstrip()
def mi(): return map(int, input().split())


S = input()

print(S[::-1][8:][::-1])

Solution (Python):
print(input()[: -8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
s = input()
s = s[:-8]
print(s)

Solution (Python):
s=list(input())
ans=''
for i in range(len(s)-8):
    ans+=s[i]
print(ans)

Solution (Python):

"""
A - XXFESTIVAL
https://atcoder.jp/contests/code-festival-2017-qualb/tasks/code_festival_2017_qualb_a

"""
import sys


def solve(S):
    return S[:-8]


def main(args):
    S = input()
    ans = solve(S)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[1:])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
ans = s[:-8]
print(ans)

Solution (Python):
s = input()
ans = s[:-8]
print(ans)

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()

print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:len(S)-1-7])

Solution (Python):
s=list(input())
s.reverse()
for i in range(8):
  s.remove(s[0])
S="".join(reversed(s))
print(S)

Solution (Python):
s= input()
print(s[:-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = input()
print(S[:len(S) - 8])

Solution (Python):
s = input()
s = s[:-8]
print(s)

Solution (Python):


import sys

def input(): return sys.stdin.readline().strip()
def list2d(a, b, c): return [[c] * b for i in range(a)]
def list3d(a, b, c, d): return [[[d] * c for j in range(b)] for i in range(a)]
def ceil(x, y=1): return int(-(-x // y))
def INT(): return int(input())
def MAP(): return map(int, input().split())
def LIST(): return list(map(int, input().split()))
def Yes(): print('Yes')
def No(): print('No')
def YES(): print('YES')
def NO(): print('NO')
sys.setrecursionlimit(10 ** 9)
INF = float('inf')
MOD = 10 ** 9 + 7

S=input()

print(S[:-8])

Solution (Python):
s = input()
print(s[:(len(s)-8)])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[0:len(s)-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
import re
print(re.compile(r'(.+)FESTIVAL$').search(input()).group(1))

Solution (Python):
print(input()[:-8])

Solution (Python):
s = str(input())
print(s[:-8])

Solution (Python):
s=input()
print(s[0:s.rfind("FESTIVAL")])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S = input()

ans = S[:-len("FESTIVAL")]

print(ans)

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
a = input()
print(a[:-8])

Solution (Python):
s=list(input())
print(''.join(s[:-8]))

Solution (Python):
print(input()[:-8])

Solution (Python):
s = str(input())
print(s[0:len(s)-len("FESTIVAL")])

Solution (Python):
a=input()
print(a[0:len(a)-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):
s = input()
print(s[:len(s)-8])

Solution (Python):
h=input()
print(h[:len(h)-8])

Solution (Python):
S=input()

print(S[0:len(S)-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:len(s)-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[:-8:])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = raw_input()
print s[:len(s)-8]

Solution (Python):
s = raw_input()
print s[:len(s)-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()

ans = S[:-8]
print(ans)

Solution (Python):
print(input()[:-8])

Solution (Python):
str = input()[:-8]
print(str)

Solution (Python):
s=input()
print(s[0:len(s)-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = str(input())
s = s[:-8]
print(s)

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
z=input()
print(z[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = input()
print(S[:len(S) - 8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:-8:])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s=raw_input()
print s[:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
fes = 'FESTIVAL'
print(s[:(-1)*len(fes)])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = list(input())
L = len(S)
ans = S[0:L-8]
print (''.join(ans))

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input().strip()
print(S[:-len('FESTIVAL')])

Solution (Python):
s = input()
print(s[:s.rfind("FESTIVAL")])

Solution (Python):





if __name__ == '__main__':
    s = input()

    print(s[:len(s) - len('FESTIVAL')])

Solution (Python):
s = input()
print(s[:len(s)-8])

Solution (Python):
s=input().rstrip()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
a = input()
print(a[:-8])

Solution (Python):
import math
import sys

def getinputdata():

    
    array_result = []
    
    data = input()

    
    array_result.append(data.split(" "))

    flg = 1

    try:


        while flg:

            data = input()

            array_temp = []

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = 1

            else:

                flg = 0
    finally:


        return array_result





arr_data = getinputdata()

s = arr_data[0][0]


print(s[0:len(s)-8])

Solution (Python):
def main():
    s = input()
    print(s[0:-8])

if __name__ == "__main__":
    main()

Solution (Python):
print(input()[:-8])

Solution (Python):
def main():
    S = input()

    ans = S[:-8]
    print(ans)

if __name__ == '__main__':
    main()

Solution (Python):
S=input()
N=len(S)
print(S[:N-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S = input()
X = len("FESTIVAL")
ans = S[:-X]
print(ans)

Solution (Python):
def solve():
    S = input()
    print(S[:-8])
        
solve()

Solution (Python):
x = input()
print(x[0:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
x=input()

y='FESTIVAL'

print(x[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
from collections import defaultdict, Counter
from itertools import product, groupby, count, permutations, combinations
from math import pi, sqrt
from collections import deque
from bisect import bisect, bisect_left, bisect_right
INF = float("inf")


def main():
    print(input()[:-len("FESTIVAL")])


if __name__ == '__main__':
    main()

Solution (Python):
print(input()[:-8])

Solution (Python):


s = input()
print(s[:-8])

Solution (Python):
S=raw_input()
print S[0:len(S)-8]

Solution (Python):
S = input()
print(S[:len(S) - 8])

Solution (Python):
s=str(input())
N=len(s)
print(s[:N-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
size = len(s)
result = s[0: size - 8]
print(result)

Solution (Python):
print(input()[:-8])

Solution (Python):
S = raw_input()
S = S[0:-8]
print (S)

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = input()

S = S[0:-8]

print(S)

Solution (Python):
def main():
    print(input()[:-8])


if __name__ == "__main__":
    main()

Solution (Python):
print(input()[:-8])

Solution (Python):
s=str(input())
a=len(s)-8
print(s[:a])

Solution (Python):
print(input()[:-8])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
y=list(raw_input())
y.reverse()
foo=''
for i in range(len(y)):
    foo+=y[i]
    if foo=='LAVITSEF':
        j=i
        break
x=y[j+1:]
x.reverse()
print ''.join(x)

Solution (Python):
S = input()
slice = S[:-8]
print(slice)

Solution (Python):
print(input()[:-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
s=input()
a=len(s)
print(s[0:a-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S=input()

fes="FESTIVAL"

for i in range(len(S)):
    if fes==(S[i:]):
        print(S[:i])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
x=input()
print(x[0:len(x)-8])

Solution (Python):
a = input().strip()
print(a[:-8])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
string  = input()
print(string[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
S=input()
print(S[:-8])

Solution (Python):
a = input().strip()
print(a[:-len("FESTIVAL")])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
S = input()
print(S[:len(S)-8])

Solution (Python):
s = str(input())
n = len(s)
print(s[0:n-8])

Solution (Python):
str = input()

print(str[0:len(str) - 8])

Solution (Python):



s = input()
head = s[:-8]
print(head)

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
value = input()

print(value[0:len(value)-8])

Solution (Python):
inp = input()
print (inp[:-8])

Solution (Python):
A=input()
print(A[0:-8])

Solution (Python):
s = list(input())
for _ in range(8):
    del s[-1]
    
print("".join(s))

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):


s=input()
print(s[0:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-len('FESTIVAL')])

Solution (Python):
s = input()
a = []
n = 0
for c in s[::-1]:
    n += 1
    if n <= 8:
        continue

    a.append(c)

a = ''.join(a)
print(a[::-1])

Solution (Python):
S = input()
print(S[:-len('FESTIVAL')])

Solution (Python):
s = input()
s_size = len(s)
print(s[0:s_size-8])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
s=input()
if s[-8:]=="FESTIVAL":print(s[:-8])

Solution (Python):
s = raw_input()

n = len(s)
print(s[0:n - 8])

Solution (Python):

S = list(input())
l = len(S)
for tmp in reversed(range(len(S))):
    S.pop(tmp)
    if tmp == l-8:
        break
print(''.join(S))

Solution (Python):
S = input()
sub = "FESTIVAL"

if sub in S:
  print(S[:-len(sub)])

Solution (Python):
s = input()
print(s[0:len(s)-8])

Solution (Python):
S = input()
if S[-8:] == "FESTIVAL":
    print("{}".format(S[0:-8]))

Solution (Python):


import sys

line = sys.stdin.readline().strip()
pattern = "FESTIVAL"

if line[len(line)-len(pattern):] == pattern:
    print line[0:len(line)-len(pattern)]
else:
    print line

Solution (Python):
S = input()
print(S[:len(S)-8])

Solution (Python):
a=input()
print(a[0:-8])

Solution (Python):
s=input("");
print(s[:-8]);

Solution (Python):
a=raw_input()
print a[:-8]

Solution (Python):

n = input()
print (n[0:len(n)-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
def main():
    s=str(input())
    l=len(s)
    print(s[:l-8])
    
if __name__ == "__main__":
    main()

Solution (Python):
S = input()
length = len(S)
ans = S[0:length-8]
print(ans)

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
if __name__ == '__main__':
    S = input()
    print(S[0:S.rfind('FESTIVAL')])

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):



"""文字列の最後の8文字を除いた部分を返す関数を作成する"""

def main():
    input_s = input()
    print(input_s[:-8])
    return None

if __name__ == "__main__":
    main()

Solution (Python):
s=input()
print(s[:s.rfind("FESTIVAL")])

Solution (Python):
str = input()
print(str[0:-8])

Solution (Python):
if __name__ == '__main__':
    S = input()
    tmp = len(S) - 8
    print(S[:tmp])

Solution (Python):
s = input()
print(s[0:len(s)-8])

Solution (Python):
s = raw_input().strip()
print s[:-8]

Solution (Python):
S = input()
print(S[:len(S)-8])

Solution (Python):



S = input()

A = S[0:-8]

print(A)

Solution (Python):
S = input()
if S[-8:] == "FESTIVAL":
	print(S[:-8])

Solution (Python):


from sys import stdin, stderr

def main():
   S = stdin.readline().strip()
   print S[:-8]
   return 0

if __name__ == '__main__': main()

Solution (Python):



s = raw_input()

ans = s[:-8]

print ans

Solution (Python):


import sys

a = raw_input()
print a[0:len(a) - 8]

Solution (Python):
S= input()
print(S[:-8])

Solution (Python):
S = input()
l = len(S)
a = l - 8
print(S[:a])

Solution (Python):
s = input()
print(s[:len(s) - 8])

Solution (Python):
S = input()
S = S[0:-8]
print(S)

Solution (Python):
s = input()

n=len(s)

s = s[:n-8]

print(s)

Solution (Python):

s=input()
print(s[:s.rfind('FESTIVAL')])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
def main():
    S = input()
    print(S[:-8])

main()

Solution (Python):
s = input()

print(s[:len(s) - 8])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
a=input()
print(a[:len(a)-8])

Solution (Python):
s = input()

print(s[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
a = input()

print(a[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s=input()
print(s[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):



import array
from bisect import *
from collections import *
import fractions
import heapq 
from itertools import *
import math
import re
import string

S = input()
print(S[:-8])

Solution (Python):
S = input()
print(S[0:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
print(s[:s.rfind("FESTIVAL")])

Solution (Python):
if __name__ == "__main__":
    S = input()
    print (S[:-8])

Solution (Python):
S = input()

x = S[:-8]

print(x)

Solution (Python):
n = input()

print(n[0:-8])

Solution (Python):
A=raw_input()
print A[:-8]

Solution (Python):
s = input()

print(s[:-8])

Solution (Python):
s = input()

print(s[:-8])

Solution (Python):
S = input();

print(S[0:-8])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):

text = input()
print(text[:-8])

Solution (Python):
a = 'FESTIVAL'
b = input()
print(b[:-len(a)])

Solution (Python):
print(input()[:-8])

Solution (Python):
print raw_input()[0:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
s = input()
i = s.rfind("FESTIVAL")
print(s[:i])

Solution (Python):





def main():
    S = input()

    print(S[:-8])

if __name__ == "__main__": main()

Solution (Python):
S = raw_input()
print(S[0:len(S)-8])

Solution (Python):
a = input()
print(a[:-8])

Solution (Python):
s = input()
print(s[:s.rfind("FESTIVAL")])

Solution (Python):
inputs = input()

print(inputs[:-8])

Solution (Python):
print raw_input()[:-8]

Solution (Python):
name = input()
print(name[:-8])

Solution (Python):
s = input()

print(s[:-8])

Solution (Python):
a = raw_input()

print a[:-8]

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
s=input()
print(s[0:-(len("FESTIVAL"))])

Solution (Python):
S = raw_input()
print(S[:-8])

Solution (Python):

S = input()
print(S[:(len(S)-8)])

Solution (Python):
a = input()
print(a[0:-8])

Solution (Python):
a=input()
print(a[:-8])

Solution (Python):


def main():
	x = input()
	print(x[:len(x) - 8])

if __name__ == '__main__':
	main()

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):



S  = input()

print(S[:-8])

Solution (Python):
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**15
mod = 10**9+7

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()

def main():
    s = S()

    return s[:-8]


print(main())

Solution (Python):
print raw_input()[:-8]

Solution (Python):
print raw_input()[:-8]

Solution (Python):















def main():
    s = input().strip()
    print(s[0:-len("FESTIVAL")])

main()

Solution (Python):
S = input()

print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
from sys import stdin

print stdin.readline().strip()[:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):









s = input()
print(s[:len(s)-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
s = raw_input()
print s[:-len('FESTIVAL')]

Solution (Python):
s = input()


s = s[:-8]

print(s)

Solution (Python):
print raw_input()[:-8]

Solution (Python):
print raw_input()[:-8]

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
s = input()
print(s[:-len('FESTIVAL')])

Solution (Python):
s = input()
print(s[:-8])

Solution (Python):
def main():
        print(input()[:-8])


if __name__ == '__main__':
        main()

Solution (Python):
print(input()[:-8])

Solution (Python):

import sys,copy,math,heapq,itertools as it,fractions,re,bisect,collections as coll

print raw_input()[:-8]

Solution (Python):
print(input()[:-8])

Solution (Python):
print(input()[:-8])

Solution (Python):
S = input()
print(S[:-8])

Solution (Python):
print(input()[:-8])