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()
{
	char s[101];
	while(scanf("%s",s) != EOF)
	{
	
	
	
	int ans=0;
	for(int i=0;i<strlen(s);i++)
	{
		if(s[i]=='C')
		{
			int j=i;
			for(i=j;i<strlen(s);i++)
			{
				if(s[i]=='F')
				{
				ans=1;}
				
			}
			

		}	
	}
	
	if(ans==1)
		{
		printf("Yes\n");}
		else
					{
					printf("No\n");}
		
	}
	
	
	
	
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L10:
	movl	$0, -140(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L3
.L8:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$67, %al
	jne	.L4
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	-132(%rbp), %eax
	movl	%eax, -136(%rbp)
	jmp	.L5
.L7:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$70, %al
	jne	.L6
	movl	$1, -140(%rbp)
.L6:
	addl	$1, -136(%rbp)
.L5:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L7
.L4:
	addl	$1, -136(%rbp)
.L3:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	cmpl	$1, -140(%rbp)
	jne	.L9
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L9:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L10
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	movq	-8(%rbp), %rbx
	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	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$1, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L10
	movq	%rbx, %rdi
	call	strlen@PLT
	xorl	%edx, %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	leaq	-1(%rax), %r9
	leaq	(%rbx,%rax), %r8
	testq	%rax, %rax
	jne	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %edx
	movslq	%edx, %rsi
	cmpq	%rax, %rsi
	jnb	.L18
.L7:
	cmpb	$67, (%rsp,%rsi)
	jne	.L3
	leal	1(%rdx), %ecx
	movslq	%ecx, %rdx
	cmpq	%rdx, %rax
	jbe	.L4
	leaq	1(%rbx,%rsi), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpb	$70, (%rdx)
	cmove	%r14d, %edi
	addq	$1, %rdx
	cmpq	%r8, %rdx
	jne	.L6
.L4:
	movq	%r9, %rdx
	subq	%rsi, %rdx
	addl	%ecx, %edx
	addl	$1, %edx
	movslq	%edx, %rsi
	cmpq	%rax, %rsi
	jb	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	$1, %edi
	je	.L19
.L8:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L20:
	.cfi_restore_state
	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	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$1, %r14d
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC1(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	leaq	.LC2(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$112, %rsp
	.cfi_def_cfa_offset 160
	movq	%fs:40, %rax
	movq	%rax, 104(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rbx
	.p2align 4,,10
	.p2align 3
.L2:
	xorl	%eax, %eax
	movq	%rbx, %rsi
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L10
	movq	%rbx, %rdi
	call	strlen@PLT
	xorl	%edx, %edx
	xorl	%edi, %edi
	xorl	%esi, %esi
	leaq	-1(%rax), %r9
	leaq	(%rbx,%rax), %r8
	testq	%rax, %rax
	jne	.L7
	jmp	.L8
	.p2align 4,,10
	.p2align 3
.L3:
	addl	$1, %edx
	movslq	%edx, %rsi
	cmpq	%rax, %rsi
	jnb	.L18
.L7:
	cmpb	$67, (%rsp,%rsi)
	jne	.L3
	leal	1(%rdx), %ecx
	movslq	%ecx, %rdx
	cmpq	%rdx, %rax
	jbe	.L4
	leaq	1(%rbx,%rsi), %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpb	$70, (%rdx)
	cmove	%r14d, %edi
	addq	$1, %rdx
	cmpq	%r8, %rdx
	jne	.L6
.L4:
	movq	%r9, %rdx
	subq	%rsi, %rdx
	addl	%ecx, %edx
	addl	$1, %edx
	movslq	%edx, %rsi
	cmpq	%rax, %rsi
	jb	.L7
	.p2align 4,,10
	.p2align 3
.L18:
	cmpl	$1, %edi
	je	.L19
.L8:
	movq	%r12, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L19:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L10:
	movq	104(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$112, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
.L20:
	.cfi_restore_state
	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()
{
	char s[101];
	while(scanf("%s",s) != EOF)
	{
	
	
	
	int ans=0;
	for(int i=0;i<strlen(s);i++)
	{
		if(s[i]=='C')
		{
			int j=i;
			for(i=j;i<strlen(s);i++)
			{
				if(s[i]=='F')
				{
				ans=1;}
				
			}
			

		}	
	}
	
	if(ans==1)
		{
		printf("Yes\n");}
		else
					{
					printf("No\n");}
		
	}
	
	
	
	
	return 0;
}

FC
 CODDFESTIVAL
 FCE
 IESTFVALCODE
 DF
 DODDFESTIVAL
 FCD
 EDOCLAVFTSEI
 EF
 LAVITSEFDDOD

No
 Yes
 No
 No
 No
 No
 No
 Yes
 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()
{
	char s[101];
	while(scanf("%s",s) != EOF)
	{
	
	
	
	int ans=0;
	for(int i=0;i<strlen(s);i++)
	{
		if(s[i]=='C')
		{
			int j=i;
			for(i=j;i<strlen(s);i++)
			{
				if(s[i]=='F')
				{
				ans=1;}
				
			}
			

		}	
	}
	
	if(ans==1)
		{
		printf("Yes\n");}
		else
					{
					printf("No\n");}
		
	}
	
	
	
	
	return 0;
}
```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L10:
	movl	$0, -140(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L3
.L8:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$67, %al
	jne	.L4
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	-132(%rbp), %eax
	movl	%eax, -136(%rbp)
	jmp	.L5
.L7:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$70, %al
	jne	.L6
	movl	$1, -140(%rbp)
.L6:
	addl	$1, -136(%rbp)
.L5:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L7
.L4:
	addl	$1, -136(%rbp)
.L3:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	cmpl	$1, -140(%rbp)
	jne	.L9
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L9:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L10
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	movq	-8(%rbp), %rbx
	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	"Yes"
.LC1:
	.string	"No"
.LC2:
	.string	"%s"
	.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
	pushq	%rbx
	subq	$136, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L10:
	movl	$0, -140(%rbp)
	movl	$0, -136(%rbp)
	jmp	.L3
.L8:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$67, %al
	jne	.L4
	movl	-136(%rbp), %eax
	movl	%eax, -132(%rbp)
	movl	-132(%rbp), %eax
	movl	%eax, -136(%rbp)
	jmp	.L5
.L7:
	movl	-136(%rbp), %eax
	cltq
	movzbl	-128(%rbp,%rax), %eax
	cmpb	$70, %al
	jne	.L6
	movl	$1, -140(%rbp)
.L6:
	addl	$1, -136(%rbp)
.L5:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L7
.L4:
	addl	$1, -136(%rbp)
.L3:
	movl	-136(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L8
	cmpl	$1, -140(%rbp)
	jne	.L9
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L2
.L9:
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
.L2:
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L10
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L12
	call	__stack_chk_fail@PLT
.L12:
	movq	-8(%rbp), %rbx
	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:
