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 <math.h>

int main(){
	int n; char s[101];
	scanf("%d", &n);
	scanf("%s", s);

	int cout, max = -1 ;
	int memo[26] = { 0 };

	//切る場所
	for (int i = 0; i < n; ++i) {
		cout = 0;
		//check
		for (int j = 0; j <= i; ++j) {
			for (int k = i + 1; k < n; ++k) {

				if (s[j] == s[k]) {
					memo[s[j]-97] = 1;
				}
			}
		}
		for (int j = 0; j < 26; ++j) {
			if (memo[j]) {
				cout++;
			}
			memo[j] = 0;
		}

		max = fmax(max, cout);
	}

	printf("%d", max);

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-252(%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, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -244(%rbp)
	leaq	-224(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -240(%rbp)
	jmp	.L2
.L11:
	movl	$0, -248(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L3
.L7:
	movl	-240(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -232(%rbp)
	jmp	.L4
.L6:
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %edx
	movl	-232(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movl	$1, -224(%rbp,%rax,4)
.L5:
	addl	$1, -232(%rbp)
.L4:
	movl	-252(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L6
	addl	$1, -236(%rbp)
.L3:
	movl	-236(%rbp), %eax
	cmpl	-240(%rbp), %eax
	jle	.L7
	movl	$0, -228(%rbp)
	jmp	.L8
.L10:
	movl	-228(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	addl	$1, -248(%rbp)
.L9:
	movl	-228(%rbp), %eax
	cltq
	movl	$0, -224(%rbp,%rax,4)
	addl	$1, -228(%rbp)
.L8:
	cmpl	$25, -228(%rbp)
	jle	.L10
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-248(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-244(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmax@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -244(%rbp)
	addl	$1, -240(%rbp)
.L2:
	movl	-252(%rbp), %eax
	cmpl	%eax, -240(%rbp)
	jl	.L11
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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	"%d"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$248, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	128(%rsp), %rbp
	call	__isoc99_scanf@PLT
	leaq	.LC1(%rip), %rdi
	movq	%rbp, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebx
	leaq	16(%rsp), %rdi
	xorl	%eax, %eax
	movl	$13, %ecx
	rep stosq
	testl	%ebx, %ebx
	jle	.L12
	leal	-2(%rbx), %r14d
	movq	%rbp, %r9
	xorl	%r13d, %r13d
	movl	$-1, %r8d
	pxor	%xmm2, %xmm2
	.p2align 4,,10
	.p2align 3
.L9:
	addl	$1, %r13d
	leaq	1(%r9), %r15
	cmpl	%ebx, %r13d
	jge	.L3
	leaq	1(%r9), %r15
	movl	%r14d, %ecx
	movq	%rbp, %rdi
	addq	%r15, %rcx
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%rdi), %esi
	movq	%r9, %rax
	movl	%esi, %edx
	subl	$97, %esi
	movslq	%esi, %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	1(%rax), %dl
	jne	.L4
	movl	$1, 16(%rsp,%rsi,4)
.L4:
	addq	$1, %rax
	cmpq	%rcx, %rax
	jne	.L5
	leaq	1(%rdi), %rax
	cmpq	%r9, %rdi
	je	.L3
	movq	%rax, %rdi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	movdqa	%xmm2, %xmm1
	movdqa	%xmm2, %xmm0
	cmpl	$1, 112(%rsp)
	movl	$0, 112(%rsp)
	pcmpeqd	16(%rsp), %xmm1
	pcmpeqd	32(%rsp), %xmm0
	movaps	%xmm2, 16(%rsp)
	pandn	.LC2(%rip), %xmm0
	movaps	%xmm2, 32(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	48(%rsp), %xmm1
	movaps	%xmm2, 48(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	64(%rsp), %xmm1
	movaps	%xmm2, 64(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	80(%rsp), %xmm1
	movaps	%xmm2, 80(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	96(%rsp), %xmm1
	movaps	%xmm2, 96(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	movd	%xmm0, %eax
	pxor	%xmm0, %xmm0
	sbbl	$-1, %eax
	cvtsi2sdl	%r8d, %xmm0
	cmpl	$1, 116(%rsp)
	movl	$0, 116(%rsp)
	sbbl	$-1, %eax
	subl	$1, %r14d
	cvtsi2sdl	%eax, %xmm1
	call	fmax@PLT
	cmpl	%ebx, %r13d
	movq	%r15, %r9
	pxor	%xmm2, %xmm2
	cvttsd2sil	%xmm0, %r8d
	jne	.L9
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$248, %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
.L12:
	.cfi_restore_state
	orl	$-1, %r8d
	jmp	.L2
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	1
	.long	1
	.long	1
	.long	1
	.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	"%d"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	movq	%r12, %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$248, %rsp
	.cfi_def_cfa_offset 304
	movq	%fs:40, %rax
	movq	%rax, 232(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	128(%rsp), %rbp
	call	__isoc99_scanf@PLT
	leaq	.LC1(%rip), %rdi
	movq	%rbp, %rsi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %ebx
	leaq	16(%rsp), %rdi
	xorl	%eax, %eax
	movl	$13, %ecx
	rep stosq
	testl	%ebx, %ebx
	jle	.L12
	leal	-2(%rbx), %r14d
	movq	%rbp, %r9
	xorl	%r13d, %r13d
	movl	$-1, %r8d
	pxor	%xmm2, %xmm2
	.p2align 4,,10
	.p2align 3
.L9:
	addl	$1, %r13d
	leaq	1(%r9), %r15
	cmpl	%ebx, %r13d
	jge	.L3
	leaq	1(%r9), %r15
	movl	%r14d, %ecx
	movq	%rbp, %rdi
	addq	%r15, %rcx
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%rdi), %esi
	movq	%r9, %rax
	movl	%esi, %edx
	subl	$97, %esi
	movslq	%esi, %rsi
	.p2align 4,,10
	.p2align 3
.L5:
	cmpb	1(%rax), %dl
	jne	.L4
	movl	$1, 16(%rsp,%rsi,4)
.L4:
	addq	$1, %rax
	cmpq	%rcx, %rax
	jne	.L5
	leaq	1(%rdi), %rax
	cmpq	%r9, %rdi
	je	.L3
	movq	%rax, %rdi
	jmp	.L6
	.p2align 4,,10
	.p2align 3
.L3:
	movdqa	%xmm2, %xmm1
	movdqa	%xmm2, %xmm0
	cmpl	$1, 112(%rsp)
	movl	$0, 112(%rsp)
	pcmpeqd	16(%rsp), %xmm1
	pcmpeqd	32(%rsp), %xmm0
	movaps	%xmm2, 16(%rsp)
	pandn	.LC2(%rip), %xmm0
	movaps	%xmm2, 32(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	48(%rsp), %xmm1
	movaps	%xmm2, 48(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	64(%rsp), %xmm1
	movaps	%xmm2, 64(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	80(%rsp), %xmm1
	movaps	%xmm2, 80(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm2, %xmm1
	pcmpeqd	96(%rsp), %xmm1
	movaps	%xmm2, 96(%rsp)
	pcmpeqd	%xmm2, %xmm1
	psubd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	pxor	%xmm1, %xmm1
	movd	%xmm0, %eax
	pxor	%xmm0, %xmm0
	sbbl	$-1, %eax
	cvtsi2sdl	%r8d, %xmm0
	cmpl	$1, 116(%rsp)
	movl	$0, 116(%rsp)
	sbbl	$-1, %eax
	subl	$1, %r14d
	cvtsi2sdl	%eax, %xmm1
	call	fmax@PLT
	cmpl	%ebx, %r13d
	movq	%r15, %r9
	pxor	%xmm2, %xmm2
	cvttsd2sil	%xmm0, %r8d
	jne	.L9
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movq	%r12, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	232(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L20
	addq	$248, %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
.L12:
	.cfi_restore_state
	orl	$-1, %r8d
	jmp	.L2
.L20:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC2:
	.long	1
	.long	1
	.long	1
	.long	1
	.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 <math.h>

int main(){
	int n; char s[101];
	scanf("%d", &n);
	scanf("%s", s);

	int cout, max = -1 ;
	int memo[26] = { 0 };

	//切る場所
	for (int i = 0; i < n; ++i) {
		cout = 0;
		//check
		for (int j = 0; j <= i; ++j) {
			for (int k = i + 1; k < n; ++k) {

				if (s[j] == s[k]) {
					memo[s[j]-97] = 1;
				}
			}
		}
		for (int j = 0; j < 26; ++j) {
			if (memo[j]) {
				cout++;
			}
			memo[j] = 0;
		}

		max = fmax(max, cout);
	}

	printf("%d", max);

	return 0;
}
10
aaabaaaaaa
 6
`abbca
 45
tgxgdqkyjphyzutjjtllptdfxocrylqfqjynmfbfucbir
 45
tgxgtqkyjfhyzutjjdllptdpxrbrylqfqjynmfbfucbio
 45
bnxgtqkykfhyzutjjdllptdpxrtrylqfqjygmfbftcbio
 10
aba`ab`bbb

1 2 9 10 11 2
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 <math.h>

int main(){
	int n; char s[101];
	scanf("%d", &n);
	scanf("%s", s);

	int cout, max = -1 ;
	int memo[26] = { 0 };

	//切る場所
	for (int i = 0; i < n; ++i) {
		cout = 0;
		//check
		for (int j = 0; j <= i; ++j) {
			for (int k = i + 1; k < n; ++k) {

				if (s[j] == s[k]) {
					memo[s[j]-97] = 1;
				}
			}
		}
		for (int j = 0; j < 26; ++j) {
			if (memo[j]) {
				cout++;
			}
			memo[j] = 0;
		}

		max = fmax(max, cout);
	}

	printf("%d", max);

	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.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
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-252(%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, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -244(%rbp)
	leaq	-224(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -240(%rbp)
	jmp	.L2
.L11:
	movl	$0, -248(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L3
.L7:
	movl	-240(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -232(%rbp)
	jmp	.L4
.L6:
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %edx
	movl	-232(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movl	$1, -224(%rbp,%rax,4)
.L5:
	addl	$1, -232(%rbp)
.L4:
	movl	-252(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L6
	addl	$1, -236(%rbp)
.L3:
	movl	-236(%rbp), %eax
	cmpl	-240(%rbp), %eax
	jle	.L7
	movl	$0, -228(%rbp)
	jmp	.L8
.L10:
	movl	-228(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	addl	$1, -248(%rbp)
.L9:
	movl	-228(%rbp), %eax
	cltq
	movl	$0, -224(%rbp,%rax,4)
	addl	$1, -228(%rbp)
.L8:
	cmpl	$25, -228(%rbp)
	jle	.L10
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-248(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-244(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmax@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -244(%rbp)
	addl	$1, -240(%rbp)
.L2:
	movl	-252(%rbp), %eax
	cmpl	%eax, -240(%rbp)
	jl	.L11
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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	"%d"
.LC1:
	.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
	subq	$256, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-252(%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, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$-1, -244(%rbp)
	leaq	-224(%rbp), %rdx
	movl	$0, %eax
	movl	$13, %ecx
	movq	%rdx, %rdi
	rep stosq
	movl	$0, -240(%rbp)
	jmp	.L2
.L11:
	movl	$0, -248(%rbp)
	movl	$0, -236(%rbp)
	jmp	.L3
.L7:
	movl	-240(%rbp), %eax
	addl	$1, %eax
	movl	%eax, -232(%rbp)
	jmp	.L4
.L6:
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %edx
	movl	-232(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L5
	movl	-236(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movl	$1, -224(%rbp,%rax,4)
.L5:
	addl	$1, -232(%rbp)
.L4:
	movl	-252(%rbp), %eax
	cmpl	%eax, -232(%rbp)
	jl	.L6
	addl	$1, -236(%rbp)
.L3:
	movl	-236(%rbp), %eax
	cmpl	-240(%rbp), %eax
	jle	.L7
	movl	$0, -228(%rbp)
	jmp	.L8
.L10:
	movl	-228(%rbp), %eax
	cltq
	movl	-224(%rbp,%rax,4), %eax
	testl	%eax, %eax
	je	.L9
	addl	$1, -248(%rbp)
.L9:
	movl	-228(%rbp), %eax
	cltq
	movl	$0, -224(%rbp,%rax,4)
	addl	$1, -228(%rbp)
.L8:
	cmpl	$25, -228(%rbp)
	jle	.L10
	pxor	%xmm0, %xmm0
	cvtsi2sdl	-248(%rbp), %xmm0
	pxor	%xmm2, %xmm2
	cvtsi2sdl	-244(%rbp), %xmm2
	movq	%xmm2, %rax
	movapd	%xmm0, %xmm1
	movq	%rax, %xmm0
	call	fmax@PLT
	cvttsd2sil	%xmm0, %eax
	movl	%eax, -244(%rbp)
	addl	$1, -240(%rbp)
.L2:
	movl	-252(%rbp), %eax
	cmpl	%eax, -240(%rbp)
	jl	.L11
	movl	-244(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	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:
