Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>


int main(void){
    char s[100];
    scanf("%s",s);
    int l=strlen(s);
    
    if(
        (s[l-7]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[6]=='e')
        )
        
        
        {
        printf("YES");
        
        }
    else printf("NO");
    
    
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	-116(%rbp), %eax
	subl	$7, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$107, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L2:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L4:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L5
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L5:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L6
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L6
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L6:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L7
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L7
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L7:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L8
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L8
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L8:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L9
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L9
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L9
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L9
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L9:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L10
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L10
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L10
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L10
	movzbl	-106(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
.L3:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L11
.L10:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
user
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leal	-7(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$107, (%rsp,%rdx)
	je	.L2
	cmpb	$107, (%rsp)
	je	.L28
.L4:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	leal	-6(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L30
.L22:
	cmpb	$101, 1(%rsp)
	jne	.L4
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
.L21:
	cmpb	$121, 2(%rsp)
	je	.L31
.L9:
	cmpb	$121, 2(%rsp)
	je	.L32
.L11:
	cmpb	$121, 2(%rsp)
	je	.L33
.L14:
	cmpb	$121, 2(%rsp)
	je	.L34
.L17:
	cmpb	$121, 2(%rsp)
	jne	.L4
	cmpb	$101, 3(%rsp)
	jne	.L4
	cmpb	$110, 4(%rsp)
	jne	.L4
	cmpb	$99, 5(%rsp)
	jne	.L4
	cmpb	$101, 6(%rsp)
	jne	.L4
.L19:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L2:
	leal	-6(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L5
	cmpb	$107, (%rsp)
	je	.L22
	jmp	.L4
.L30:
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
.L23:
	cmpb	$101, 1(%rsp)
	je	.L21
	jmp	.L4
.L5:
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
	cmpb	$107, (%rsp)
	jne	.L4
	jmp	.L23
.L7:
	leal	-4(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L10
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L9
	jmp	.L4
.L31:
	leal	-4(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	jne	.L9
.L10:
	leal	-3(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$110, (%rsp,%rdx)
	je	.L13
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L11
	jmp	.L4
.L34:
	cmpb	$101, 3(%rsp)
	jne	.L17
	cmpb	$110, 4(%rsp)
	jne	.L17
	cmpb	$99, 5(%rsp)
	jne	.L17
	subl	$1, %eax
	cltq
	cmpb	$101, (%rsp,%rax)
	jne	.L17
	jmp	.L19
.L33:
	cmpb	$101, 3(%rsp)
	jne	.L14
	cmpb	$110, 4(%rsp)
	jne	.L14
	leal	-2(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$99, (%rsp,%rdx)
	jne	.L14
.L16:
	subl	$1, %eax
	cltq
	cmpb	$101, (%rsp,%rax)
	je	.L19
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	jne	.L4
	jmp	.L17
.L32:
	cmpb	$101, 3(%rsp)
	jne	.L11
	leal	-3(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$110, (%rsp,%rdx)
	jne	.L11
.L13:
	leal	-2(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$99, (%rsp,%rdx)
	je	.L16
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L14
	jmp	.L4
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

rule
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	subq	$112, %rsp
	.cfi_def_cfa_offset 128
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbp
	movq	%rbp, %rsi
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	leal	-7(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$107, (%rsp,%rdx)
	je	.L2
	cmpb	$107, (%rsp)
	je	.L28
.L4:
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L20:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L29
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L28:
	.cfi_restore_state
	leal	-6(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L30
.L22:
	cmpb	$101, 1(%rsp)
	jne	.L4
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
.L21:
	cmpb	$121, 2(%rsp)
	je	.L31
.L9:
	cmpb	$121, 2(%rsp)
	je	.L32
.L11:
	cmpb	$121, 2(%rsp)
	je	.L33
.L14:
	cmpb	$121, 2(%rsp)
	je	.L34
.L17:
	cmpb	$121, 2(%rsp)
	jne	.L4
	cmpb	$101, 3(%rsp)
	jne	.L4
	cmpb	$110, 4(%rsp)
	jne	.L4
	cmpb	$99, 5(%rsp)
	jne	.L4
	cmpb	$101, 6(%rsp)
	jne	.L4
.L19:
	leaq	.LC1(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L20
.L2:
	leal	-6(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L5
	cmpb	$107, (%rsp)
	je	.L22
	jmp	.L4
.L30:
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
.L23:
	cmpb	$101, 1(%rsp)
	je	.L21
	jmp	.L4
.L5:
	leal	-5(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$121, (%rsp,%rdx)
	je	.L7
	cmpb	$107, (%rsp)
	jne	.L4
	jmp	.L23
.L7:
	leal	-4(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	je	.L10
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L9
	jmp	.L4
.L31:
	leal	-4(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$101, (%rsp,%rdx)
	jne	.L9
.L10:
	leal	-3(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$110, (%rsp,%rdx)
	je	.L13
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L11
	jmp	.L4
.L34:
	cmpb	$101, 3(%rsp)
	jne	.L17
	cmpb	$110, 4(%rsp)
	jne	.L17
	cmpb	$99, 5(%rsp)
	jne	.L17
	subl	$1, %eax
	cltq
	cmpb	$101, (%rsp,%rax)
	jne	.L17
	jmp	.L19
.L33:
	cmpb	$101, 3(%rsp)
	jne	.L14
	cmpb	$110, 4(%rsp)
	jne	.L14
	leal	-2(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$99, (%rsp,%rdx)
	jne	.L14
.L16:
	subl	$1, %eax
	cltq
	cmpb	$101, (%rsp,%rax)
	je	.L19
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	jne	.L4
	jmp	.L17
.L32:
	cmpb	$101, 3(%rsp)
	jne	.L11
	leal	-3(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$110, (%rsp,%rdx)
	jne	.L11
.L13:
	leal	-2(%rax), %edx
	movslq	%edx, %rdx
	cmpb	$99, (%rsp,%rdx)
	je	.L16
	cmpb	$107, (%rsp)
	jne	.L4
	cmpb	$101, 1(%rsp)
	je	.L14
	jmp	.L4
.L29:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include<stdio.h>
#include<string.h>


int main(void){
    char s[100];
    scanf("%s",s);
    int l=strlen(s);
    
    if(
        (s[l-7]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[6]=='e')
        )
        
        
        {
        printf("YES");
        
        }
    else printf("NO");
    
    
    return 0;
}
ecneyek
 ashkfyha
 eeyofscienck
 mnyszsbzpf
 ecneyel
 arhkfyha
 eeyofsciencj
 mnyszsb{pf
 ecleyen
 arhkyfha

NO NO NO NO NO NO NO NO NO NO
Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
#include<string.h>


int main(void){
    char s[100];
    scanf("%s",s);
    int l=strlen(s);
    
    if(
        (s[l-7]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[l-6]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[l-5]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[l-4]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[l-3]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[l-2]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[l-1]=='e')||
        (s[0]=='k'&&s[1]=='e'&&s[2]=='y'&&s[3]=='e'&&s[4]=='n'&&s[5]=='c'&&s[6]=='e')
        )
        
        
        {
        printf("YES");
        
        }
    else printf("NO");
    
    
    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	-116(%rbp), %eax
	subl	$7, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$107, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L2:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L4:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L5
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L5:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L6
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L6
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L6:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L7
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L7
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L7:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L8
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L8
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L8:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L9
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L9
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L9
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L9
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L9:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L10
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L10
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L10
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L10
	movzbl	-106(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
.L3:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L11
.L10:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
train
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	movl	%eax, -116(%rbp)
	movl	-116(%rbp), %eax
	subl	$7, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$107, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L2
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L2:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$6, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L4
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L4:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L5
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$5, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$121, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L5
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L5:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L6
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L6
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$4, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L6
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L6:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L7
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L7
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$3, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$110, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L7
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L7:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L8
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L8
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L8
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$2, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$99, %al
	jne	.L8
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L8:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L9
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L9
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L9
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L9
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L9
	movl	-116(%rbp), %eax
	subl	$1, %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	$101, %al
	je	.L3
.L9:
	movzbl	-112(%rbp), %eax
	cmpb	$107, %al
	jne	.L10
	movzbl	-111(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-110(%rbp), %eax
	cmpb	$121, %al
	jne	.L10
	movzbl	-109(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
	movzbl	-108(%rbp), %eax
	cmpb	$110, %al
	jne	.L10
	movzbl	-107(%rbp), %eax
	cmpb	$99, %al
	jne	.L10
	movzbl	-106(%rbp), %eax
	cmpb	$101, %al
	jne	.L10
.L3:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L11
.L10:
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L11:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L13
	call	__stack_chk_fail@PLT
.L13:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
