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

```c
#include <stdio.h>
#include <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

char s[100010];
ll n;
int main(){
	scanf("%s",s);
	n=strlen(s);
	for(ll i=n-1;i>=0;){
		if(i>=4&&!strcmp(s+i-4,"dream"))i-=5,s[i+1]=0;
		else if(i>=6&&!strcmp(s+i-6,"dreamer"))i-=7,s[i+1]=0;
		else if(i>=4&&!strcmp(s+i-4,"erase"))i-=5,s[i+1]=0;
		else if(i>=5&&!strcmp(s+i-5,"eraser"))i-=6,s[i+1]=0;
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	s(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, n(%rip)
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L19
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L14:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rbp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpq	$-1, %rbx
	jne	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	movb	$0, -4(%rbp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rbp,%rbx)
	subq	$6, %rbx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.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.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	s(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, n(%rip)
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L19
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L14:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rbp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpq	$-1, %rbx
	jne	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	movb	$0, -4(%rbp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rbp,%rbx)
	subq	$6, %rbx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.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
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	s(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, n(%rip)
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L19
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L14:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rbp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpq	$-1, %rbx
	jne	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	movb	$0, -4(%rbp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rbp,%rbx)
	subq	$6, %rbx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.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:
```
```c
#include <stdio.h>
#include <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

char s[100010];
ll n;
int main(){
	scanf("%s",s);
	n=strlen(s);
	for(ll i=n-1;i>=0;){
		if(i>=4&&!strcmp(s+i-4,"dream"))i-=5,s[i+1]=0;
		else if(i>=6&&!strcmp(s+i-6,"dreamer"))i-=7,s[i+1]=0;
		else if(i>=4&&!strcmp(s+i-4,"erase"))i-=5,s[i+1]=0;
		else if(i>=5&&!strcmp(s+i-5,"eraser"))i-=6,s[i+1]=0;
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include <stdio.h>
#include <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

char s[100010];
ll n;
int main(){
	scanf("%s",s);
	n=strlen(s);
	for(ll i=n-1;i>=0;){
		if(i>=4&&!strcmp(s+i-4,"dream"))i-=5,s[i+1]=0;
		else if(i>=6&&!strcmp(s+i-6,"dreamer"))i-=7,s[i+1]=0;
		else if(i>=4&&!strcmp(s+i-4,"erase"))i-=5,s[i+1]=0;
		else if(i>=5&&!strcmp(s+i-5,"eraser"))i-=6,s[i+1]=0;
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
}```

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.
Optimized Assembly Code:

erasedream

YES

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

```c
#include <stdio.h>
#include <string.h>
#define ll long long
#define rep(i,l,r)for(ll i=(l);i<(r);i++)
#define repp(i,l,r,k)for(ll i=(l);i<(r);i+=(k))
#define INF ((1LL<<62)-(1LL<<31))
#define max(p,q)((p)>(q)?(p):(q))
#define min(p,q)((p)<(q)?(p):(q))

char s[100010];
ll n;
int main(){
	scanf("%s",s);
	n=strlen(s);
	for(ll i=n-1;i>=0;){
		if(i>=4&&!strcmp(s+i-4,"dream"))i-=5,s[i+1]=0;
		else if(i>=6&&!strcmp(s+i-6,"dreamer"))i-=7,s[i+1]=0;
		else if(i>=4&&!strcmp(s+i-4,"erase"))i-=5,s[i+1]=0;
		else if(i>=5&&!strcmp(s+i-5,"eraser"))i-=6,s[i+1]=0;
		else {
			puts("NO");
			return 0;
		}
	}
	puts("YES");
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	s(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, n(%rip)
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L19
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L14:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rbp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpq	$-1, %rbx
	jne	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	movb	$0, -4(%rbp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rbp,%rbx)
	subq	$6, %rbx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.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.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"YES"
.LC2:
	.string	"dream"
.LC3:
	.string	"dreamer"
.LC4:
	.string	"erase"
.LC5:
	.string	"eraser"
.LC6:
	.string	"NO"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC3(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC5(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC2(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	s(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	movq	%rbp, %rsi
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	__isoc99_scanf@PLT
	movq	%rbp, %rdi
	call	strlen@PLT
	movq	%rax, n(%rip)
	leaq	-1(%rax), %rbx
	testq	%rax, %rax
	je	.L9
	.p2align 4,,10
	.p2align 3
.L2:
	cmpq	$3, %rbx
	jg	.L19
.L4:
	leaq	.LC6(%rip), %rdi
	call	puts@PLT
.L14:
	addq	$8, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L19:
	.cfi_restore_state
	leaq	-4(%rbp,%rbx), %r15
	movq	%r12, %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$5, %rbx
	jle	.L11
	leaq	-6(%rbp,%rbx), %rdi
	movq	%r14, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L11
	movb	$0, -6(%rbp,%rbx)
	subq	$7, %rbx
	.p2align 4,,10
	.p2align 3
.L6:
	cmpq	$-1, %rbx
	jne	.L2
.L9:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L17:
	movb	$0, -4(%rbp,%rbx)
	subq	$5, %rbx
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L11:
	leaq	.LC4(%rip), %rsi
	movq	%r15, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	je	.L17
	cmpq	$4, %rbx
	jle	.L4
	leaq	-5(%rbp,%rbx), %rdi
	movq	%r13, %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	jne	.L4
	movb	$0, -5(%rbp,%rbx)
	subq	$6, %rbx
	jmp	.L6
	.cfi_endproc
.LFE35:
	.size	main, .-main
	.globl	n
	.bss
	.align 8
	.type	n, @object
	.size	n, 8
n:
	.zero	8
	.globl	s
	.align 32
	.type	s, @object
	.size	s, 100010
s:
	.zero	100010
	.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:
```