#import <Foundation/Foundation.h>
int main() {
	@autoreleasepool{
		char S[100];
		scanf("%s",S);
		NSString *s = [NSString stringWithUTF8String:S];
		puts([s substringToIndex:[s length]-8].UTF8String);
	}
}
