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>
int main(){

	int n,i,j,k,d=0,c;
	char s[101];

	scanf("%d%s",&n,s);

	for(i=2;i<n-1;i++){
		char x[27]={},y[27]={};

		for(j=0;j<n;j++){
			if(j<i)
				x[s[j]-'a']=1;
			else
				y[s[j]-'a']=1;
		}
		c=0;
		for(k=0;k<27;k++){
			if(x[k]==y[k])
				c+=x[k];
		}
		if(c>d)
			d=c;
	}
	printf("%d",d);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%s"
.LC1:
	.string	"%d"
	.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	$208, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -184(%rbp)
	leaq	-112(%rbp), %rdx
	leaq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -196(%rbp)
	jmp	.L2
.L11:
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movw	$0, -152(%rbp)
	movb	$0, -150(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movw	$0, -120(%rbp)
	movb	$0, -118(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L3
.L6:
	movl	-192(%rbp), %eax
	cmpl	-196(%rbp), %eax
	jge	.L4
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -176(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -144(%rbp,%rax)
.L5:
	addl	$1, -192(%rbp)
.L3:
	movl	-200(%rbp), %eax
	cmpl	%eax, -192(%rbp)
	jl	.L6
	movl	$0, -180(%rbp)
	movl	$0, -188(%rbp)
	jmp	.L7
.L9:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %edx
	movl	-188(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %eax
	movsbl	%al, %eax
	addl	%eax, -180(%rbp)
.L8:
	addl	$1, -188(%rbp)
.L7:
	cmpl	$26, -188(%rbp)
	jle	.L9
	movl	-180(%rbp), %eax
	cmpl	-184(%rbp), %eax
	jle	.L10
	movl	-180(%rbp), %eax
	movl	%eax, -184(%rbp)
.L10:
	addl	$1, -196(%rbp)
.L2:
	movl	-200(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -196(%rbp)
	jl	.L11
	movl	-184(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%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%s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$192, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 184(%rsp)
	xorl	%eax, %eax
	leaq	80(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	xorl	%r8d, %r8d
	leal	-1(%rsi), %r9d
	cmpl	$2, %r9d
	jle	.L2
	movl	$2, %edi
	pxor	%xmm4, %xmm4
	pxor	%xmm3, %xmm3
	.p2align 4,,10
	.p2align 3
.L21:
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	movl	%edi, %r10d
	cmpl	%edi, %esi
	movw	%dx, 72(%rsp)
	movq	%rbx, %rdx
	cmovle	%esi, %r10d
	movw	%ax, 40(%rsp)
	xorl	%ecx, %ecx
	movq	$0, 32(%rsp)
	movb	$0, 42(%rsp)
	movq	$0, 64(%rsp)
	movb	$0, 74(%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 48(%rsp)
	testl	%esi, %esi
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%rdx), %eax
	addl	$1, %ecx
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	movb	$1, 16(%rsp,%rax)
	cmpl	%r10d, %ecx
	jl	.L6
	movslq	%ecx, %rdx
	cmpl	%ecx, %esi
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rbx,%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	movb	$1, 48(%rsp,%rax)
	cmpl	%edx, %esi
	jg	.L9
.L8:
	movdqa	16(%rsp), %xmm1
	movdqa	%xmm4, %xmm2
	movsbl	32(%rsp), %edx
	pcmpeqb	48(%rsp), %xmm1
	pand	16(%rsp), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm0, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm2, %xmm5
	punpckhwd	%xmm2, %xmm0
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm1, %xmm2
	paddd	%xmm5, %xmm0
	movdqa	%xmm1, %xmm5
	punpcklwd	%xmm2, %xmm5
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm5, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpb	%dl, 64(%rsp)
	je	.L32
.L5:
	movsbl	33(%rsp), %edx
	cmpb	%dl, 65(%rsp)
	jne	.L11
	addl	%edx, %eax
.L11:
	movsbl	34(%rsp), %edx
	cmpb	66(%rsp), %dl
	jne	.L12
	addl	%edx, %eax
.L12:
	movsbl	35(%rsp), %edx
	cmpb	67(%rsp), %dl
	jne	.L13
	addl	%edx, %eax
.L13:
	movsbl	36(%rsp), %edx
	cmpb	68(%rsp), %dl
	jne	.L14
	addl	%edx, %eax
.L14:
	movsbl	37(%rsp), %edx
	cmpb	69(%rsp), %dl
	jne	.L15
	addl	%edx, %eax
.L15:
	movsbl	38(%rsp), %edx
	cmpb	70(%rsp), %dl
	jne	.L16
	addl	%edx, %eax
.L16:
	movsbl	39(%rsp), %edx
	cmpb	71(%rsp), %dl
	jne	.L17
	addl	%edx, %eax
.L17:
	movsbl	40(%rsp), %edx
	cmpb	72(%rsp), %dl
	jne	.L18
	addl	%edx, %eax
.L18:
	movsbl	41(%rsp), %edx
	cmpb	73(%rsp), %dl
	jne	.L19
	addl	%edx, %eax
.L19:
	movsbl	42(%rsp), %edx
	cmpb	74(%rsp), %dl
	jne	.L30
	addl	%edx, %eax
.L30:
	cmpl	%eax, %r8d
	cmovl	%eax, %r8d
	addl	$1, %edi
	cmpl	%edi, %r9d
	jne	.L21
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	addq	$192, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	addl	%edx, %eax
	jmp	.L5
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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	"%d%s"
.LC1:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbx
	.cfi_def_cfa_offset 16
	.cfi_offset 3, -16
	leaq	.LC0(%rip), %rdi
	subq	$192, %rsp
	.cfi_def_cfa_offset 208
	movq	%fs:40, %rax
	movq	%rax, 184(%rsp)
	xorl	%eax, %eax
	leaq	80(%rsp), %rbx
	leaq	12(%rsp), %rsi
	movq	%rbx, %rdx
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	xorl	%r8d, %r8d
	leal	-1(%rsi), %r9d
	cmpl	$2, %r9d
	jle	.L2
	movl	$2, %edi
	pxor	%xmm4, %xmm4
	pxor	%xmm3, %xmm3
	.p2align 4,,10
	.p2align 3
.L21:
	xorl	%edx, %edx
	pxor	%xmm0, %xmm0
	xorl	%eax, %eax
	movl	%edi, %r10d
	cmpl	%edi, %esi
	movw	%dx, 72(%rsp)
	movq	%rbx, %rdx
	cmovle	%esi, %r10d
	movw	%ax, 40(%rsp)
	xorl	%ecx, %ecx
	movq	$0, 32(%rsp)
	movb	$0, 42(%rsp)
	movq	$0, 64(%rsp)
	movb	$0, 74(%rsp)
	movaps	%xmm0, 16(%rsp)
	movaps	%xmm0, 48(%rsp)
	testl	%esi, %esi
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L6:
	movsbl	(%rdx), %eax
	addl	$1, %ecx
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	movb	$1, 16(%rsp,%rax)
	cmpl	%r10d, %ecx
	jl	.L6
	movslq	%ecx, %rdx
	cmpl	%ecx, %esi
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rbx,%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	movb	$1, 48(%rsp,%rax)
	cmpl	%edx, %esi
	jg	.L9
.L8:
	movdqa	16(%rsp), %xmm1
	movdqa	%xmm4, %xmm2
	movsbl	32(%rsp), %edx
	pcmpeqb	48(%rsp), %xmm1
	pand	16(%rsp), %xmm1
	pcmpgtb	%xmm1, %xmm2
	movdqa	%xmm1, %xmm0
	punpcklbw	%xmm2, %xmm0
	punpckhbw	%xmm2, %xmm1
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm0, %xmm2
	movdqa	%xmm0, %xmm5
	punpcklwd	%xmm2, %xmm5
	punpckhwd	%xmm2, %xmm0
	movdqa	%xmm3, %xmm2
	pcmpgtw	%xmm1, %xmm2
	paddd	%xmm5, %xmm0
	movdqa	%xmm1, %xmm5
	punpcklwd	%xmm2, %xmm5
	punpckhwd	%xmm2, %xmm1
	paddd	%xmm5, %xmm0
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %eax
	cmpb	%dl, 64(%rsp)
	je	.L32
.L5:
	movsbl	33(%rsp), %edx
	cmpb	%dl, 65(%rsp)
	jne	.L11
	addl	%edx, %eax
.L11:
	movsbl	34(%rsp), %edx
	cmpb	66(%rsp), %dl
	jne	.L12
	addl	%edx, %eax
.L12:
	movsbl	35(%rsp), %edx
	cmpb	67(%rsp), %dl
	jne	.L13
	addl	%edx, %eax
.L13:
	movsbl	36(%rsp), %edx
	cmpb	68(%rsp), %dl
	jne	.L14
	addl	%edx, %eax
.L14:
	movsbl	37(%rsp), %edx
	cmpb	69(%rsp), %dl
	jne	.L15
	addl	%edx, %eax
.L15:
	movsbl	38(%rsp), %edx
	cmpb	70(%rsp), %dl
	jne	.L16
	addl	%edx, %eax
.L16:
	movsbl	39(%rsp), %edx
	cmpb	71(%rsp), %dl
	jne	.L17
	addl	%edx, %eax
.L17:
	movsbl	40(%rsp), %edx
	cmpb	72(%rsp), %dl
	jne	.L18
	addl	%edx, %eax
.L18:
	movsbl	41(%rsp), %edx
	cmpb	73(%rsp), %dl
	jne	.L19
	addl	%edx, %eax
.L19:
	movsbl	42(%rsp), %edx
	cmpb	74(%rsp), %dl
	jne	.L30
	addl	%edx, %eax
.L30:
	cmpl	%eax, %r8d
	cmovl	%eax, %r8d
	addl	$1, %edi
	cmpl	%edi, %r9d
	jne	.L21
.L2:
	xorl	%eax, %eax
	movl	%r8d, %edx
	movl	$1, %edi
	leaq	.LC1(%rip), %rsi
	call	__printf_chk@PLT
	movq	184(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L33
	addq	$192, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 16
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L32:
	.cfi_restore_state
	addl	%edx, %eax
	jmp	.L5
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.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>
int main(){

	int n,i,j,k,d=0,c;
	char s[101];

	scanf("%d%s",&n,s);

	for(i=2;i<n-1;i++){
		char x[27]={},y[27]={};

		for(j=0;j<n;j++){
			if(j<i)
				x[s[j]-'a']=1;
			else
				y[s[j]-'a']=1;
		}
		c=0;
		for(k=0;k<27;k++){
			if(x[k]==y[k])
				c+=x[k];
		}
		if(c>d)
			d=c;
	}
	printf("%d",d);
	return 0;
}
10
aaabaaaaaa
 6
`abbca
 45
tgxgdqkyjphyzutjjtllptdfxocrylqfqjynmfbfucbir
 45
tgxgtqkyjfhyzutjjdllptdpxrbrylqfqjynmfbfucbio
 45
bnxgtqkykfhyzutjjdllptdpxrtrylqfqjygmfbftcbio
 10
aba`ab`bbb
 10
`bcca_ba_`
 45
blxhtqkyjehxzutkjdmlpidpurtrzlbfribgmhqfzcyto
 45
twhhbqkztehxjvukjdjioldpurzrzlbfribgmnqfzcytn
 6
b`^dca

1 2 9 10 11 2 2 12 8 0
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>
int main(){

	int n,i,j,k,d=0,c;
	char s[101];

	scanf("%d%s",&n,s);

	for(i=2;i<n-1;i++){
		char x[27]={},y[27]={};

		for(j=0;j<n;j++){
			if(j<i)
				x[s[j]-'a']=1;
			else
				y[s[j]-'a']=1;
		}
		c=0;
		for(k=0;k<27;k++){
			if(x[k]==y[k])
				c+=x[k];
		}
		if(c>d)
			d=c;
	}
	printf("%d",d);
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d%s"
.LC1:
	.string	"%d"
	.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	$208, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -184(%rbp)
	leaq	-112(%rbp), %rdx
	leaq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -196(%rbp)
	jmp	.L2
.L11:
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movw	$0, -152(%rbp)
	movb	$0, -150(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movw	$0, -120(%rbp)
	movb	$0, -118(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L3
.L6:
	movl	-192(%rbp), %eax
	cmpl	-196(%rbp), %eax
	jge	.L4
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -176(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -144(%rbp,%rax)
.L5:
	addl	$1, -192(%rbp)
.L3:
	movl	-200(%rbp), %eax
	cmpl	%eax, -192(%rbp)
	jl	.L6
	movl	$0, -180(%rbp)
	movl	$0, -188(%rbp)
	jmp	.L7
.L9:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %edx
	movl	-188(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %eax
	movsbl	%al, %eax
	addl	%eax, -180(%rbp)
.L8:
	addl	$1, -188(%rbp)
.L7:
	cmpl	$26, -188(%rbp)
	jle	.L9
	movl	-180(%rbp), %eax
	cmpl	-184(%rbp), %eax
	jle	.L10
	movl	-180(%rbp), %eax
	movl	%eax, -184(%rbp)
.L10:
	addl	$1, -196(%rbp)
.L2:
	movl	-200(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -196(%rbp)
	jl	.L11
	movl	-184(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%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%s"
.LC1:
	.string	"%d"
	.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	$208, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -184(%rbp)
	leaq	-112(%rbp), %rdx
	leaq	-200(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$2, -196(%rbp)
	jmp	.L2
.L11:
	movq	$0, -176(%rbp)
	movq	$0, -168(%rbp)
	movq	$0, -160(%rbp)
	movw	$0, -152(%rbp)
	movb	$0, -150(%rbp)
	movq	$0, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	$0, -128(%rbp)
	movw	$0, -120(%rbp)
	movb	$0, -118(%rbp)
	movl	$0, -192(%rbp)
	jmp	.L3
.L6:
	movl	-192(%rbp), %eax
	cmpl	-196(%rbp), %eax
	jge	.L4
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -176(%rbp,%rax)
	jmp	.L5
.L4:
	movl	-192(%rbp), %eax
	cltq
	movzbl	-112(%rbp,%rax), %eax
	movsbl	%al, %eax
	subl	$97, %eax
	cltq
	movb	$1, -144(%rbp,%rax)
.L5:
	addl	$1, -192(%rbp)
.L3:
	movl	-200(%rbp), %eax
	cmpl	%eax, -192(%rbp)
	jl	.L6
	movl	$0, -180(%rbp)
	movl	$0, -188(%rbp)
	jmp	.L7
.L9:
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %edx
	movl	-188(%rbp), %eax
	cltq
	movzbl	-144(%rbp,%rax), %eax
	cmpb	%al, %dl
	jne	.L8
	movl	-188(%rbp), %eax
	cltq
	movzbl	-176(%rbp,%rax), %eax
	movsbl	%al, %eax
	addl	%eax, -180(%rbp)
.L8:
	addl	$1, -188(%rbp)
.L7:
	cmpl	$26, -188(%rbp)
	jle	.L9
	movl	-180(%rbp), %eax
	cmpl	-184(%rbp), %eax
	jle	.L10
	movl	-180(%rbp), %eax
	movl	%eax, -184(%rbp)
.L10:
	addl	$1, -196(%rbp)
.L2:
	movl	-200(%rbp), %eax
	subl	$1, %eax
	cmpl	%eax, -196(%rbp)
	jl	.L11
	movl	-184(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC1(%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:
