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[51];
	int n, alCnt[50][26] = {0}, min;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) {
		scanf("%s", s);
		for (int j = 0; j < strlen(s); j++) {
			alCnt[i][s[j] - 'a']++;
		}
	}
	for (int i = 0; i < 26; i++) {
		min = 50;
		for (int j = 0; j < n; j++) {
			if (alCnt[j][i] < min) {
				min = alCnt[j][i];
			}
		}
		for (int j = 0; j < min; j++) {
			printf("%c", i + 'a');
		}
	}
	printf("\n");
	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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1208, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-5280(%rbp), %rdx
	movl	$0, %eax
	movl	$650, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-5308(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5300(%rbp)
	jmp	.L2
.L5:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5296(%rbp)
	jmp	.L3
.L4:
	movl	-5296(%rbp), %eax
	cltq
	movzbl	-80(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movslq	%ecx, %rsi
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-5280(%rbp,%rax,4), %eax
	leal	1(%rax), %esi
	movslq	%ecx, %rcx
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	%esi, -5280(%rbp,%rax,4)
	addl	$1, -5296(%rbp)
.L3:
	movl	-5296(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L4
	addl	$1, -5300(%rbp)
.L2:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5300(%rbp)
	jl	.L5
	movl	$0, -5292(%rbp)
	jmp	.L6
.L12:
	movl	$50, -5304(%rbp)
	movl	$0, -5288(%rbp)
	jmp	.L7
.L9:
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	cmpl	%eax, -5304(%rbp)
	jle	.L8
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	movl	%eax, -5304(%rbp)
.L8:
	addl	$1, -5288(%rbp)
.L7:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5288(%rbp)
	jl	.L9
	movl	$0, -5284(%rbp)
	jmp	.L10
.L11:
	movl	-5292(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -5284(%rbp)
.L10:
	movl	-5284(%rbp), %eax
	cmpl	-5304(%rbp), %eax
	jl	.L11
	addl	$1, -5292(%rbp)
.L6:
	cmpl	$25, -5292(%rbp)
	jle	.L12
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"%d"
.LC1:
	.string	"%s"
	.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
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$1192, %rsp
	.cfi_def_cfa_offset 5344
	movl	$650, %ecx
	movq	%fs:40, %rax
	movq	%rax, 5272(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebp, %ebp
	leaq	5216(%rsp), %r15
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	call	__isoc99_scanf@PLT
	movslq	%ebp, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rbx
	addq	%rbx, %rbx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%r15,%r14), %eax
	addq	$1, %r14
	subl	$97, %eax
	cltq
	addq	%rbx, %rax
	addl	$1, 16(%rsp,%rax,4)
.L3:
	movq	%r15, %rdi
	call	strlen@PLT
	cmpq	%r14, %rax
	ja	.L4
	movl	12(%rsp), %eax
	addl	$1, %ebp
	cmpl	%ebp, %eax
	jg	.L5
.L2:
	xorl	%r12d, %r12d
	leaq	120(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$50, %ebx
	testl	%eax, %eax
	jle	.L8
	subl	$1, %eax
	movl	$50, %ebx
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rax
	leaq	(%r12,%rax,2), %rax
	leaq	(%r14,%rax,4), %rcx
	movq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	cmovg	%edx, %ebx
	addq	$104, %rax
	cmpq	%rcx, %rax
	jne	.L7
	testl	%ebx, %ebx
	jle	.L12
.L8:
	leal	97(%r12), %r15d
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%r15d, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, %ebx
	jg	.L11
.L12:
	addq	$1, %r12
	addq	$4, %r13
	cmpq	$26, %r12
	je	.L21
	movl	12(%rsp), %eax
	jmp	.L6
.L21:
	movl	$10, %edi
	call	putchar@PLT
	movq	5272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$5288, %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
.L22:
	.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	"%d"
.LC1:
	.string	"%s"
	.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
	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
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$4096, %rsp
	.cfi_def_cfa_offset 4152
	orq	$0, (%rsp)
	subq	$1192, %rsp
	.cfi_def_cfa_offset 5344
	movl	$650, %ecx
	movq	%fs:40, %rax
	movq	%rax, 5272(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %r13
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	rep stosq
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L2
	xorl	%ebp, %ebp
	leaq	5216(%rsp), %r15
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r15, %rsi
	movq	%r12, %rdi
	xorl	%eax, %eax
	xorl	%r14d, %r14d
	call	__isoc99_scanf@PLT
	movslq	%ebp, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rbx
	addq	%rbx, %rbx
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L4:
	movsbl	(%r15,%r14), %eax
	addq	$1, %r14
	subl	$97, %eax
	cltq
	addq	%rbx, %rax
	addl	$1, 16(%rsp,%rax,4)
.L3:
	movq	%r15, %rdi
	call	strlen@PLT
	cmpq	%r14, %rax
	ja	.L4
	movl	12(%rsp), %eax
	addl	$1, %ebp
	cmpl	%ebp, %eax
	jg	.L5
.L2:
	xorl	%r12d, %r12d
	leaq	120(%rsp), %r14
	.p2align 4,,10
	.p2align 3
.L6:
	movl	$50, %ebx
	testl	%eax, %eax
	jle	.L8
	subl	$1, %eax
	movl	$50, %ebx
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rax
	leaq	(%r12,%rax,2), %rax
	leaq	(%r14,%rax,4), %rcx
	movq	%r13, %rax
	.p2align 4,,10
	.p2align 3
.L7:
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	cmovg	%edx, %ebx
	addq	$104, %rax
	cmpq	%rcx, %rax
	jne	.L7
	testl	%ebx, %ebx
	jle	.L12
.L8:
	leal	97(%r12), %r15d
	xorl	%ebp, %ebp
	.p2align 4,,10
	.p2align 3
.L11:
	movl	%r15d, %edi
	addl	$1, %ebp
	call	putchar@PLT
	cmpl	%ebp, %ebx
	jg	.L11
.L12:
	addq	$1, %r12
	addq	$4, %r13
	cmpq	$26, %r12
	je	.L21
	movl	12(%rsp), %eax
	jmp	.L6
.L21:
	movl	$10, %edi
	call	putchar@PLT
	movq	5272(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$5288, %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
.L22:
	.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[51];
	int n, alCnt[50][26] = {0}, min;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) {
		scanf("%s", s);
		for (int j = 0; j < strlen(s); j++) {
			alCnt[i][s[j] - 'a']++;
		}
	}
	for (int i = 0; i < 26; i++) {
		min = 50;
		for (int j = 0; j < n; j++) {
			if (alCnt[j][i] < min) {
				min = alCnt[j][i];
			}
		}
		for (int j = 0; j < min; j++) {
			printf("%c", i + 'a');
		}
	}
	printf("\n");
	return 0;
}
3
caaa
daacc
acacac
 3
caaa
d`acc
acacac
 3
aaca
bdb`c
acacac
 3
a
aa
a
 3
caca
cca`d
acacac
 3
acba
da`cb
acacbc
 3
_a_b
c_bcb
abcada
 3
aad_
bdb_c
ababcd
 3
ba`c
bcb`c
abdbcb
 3
bcac
cc`be
acacbc

aac
 ac
 c
 a
 acc
 abc
 b
 d
 bc
 bcc

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[51];
	int n, alCnt[50][26] = {0}, min;
	scanf("%d", &n);
	for (int i = 0; i < n; i++) {
		scanf("%s", s);
		for (int j = 0; j < strlen(s); j++) {
			alCnt[i][s[j] - 'a']++;
		}
	}
	for (int i = 0; i < 26; i++) {
		min = 50;
		for (int j = 0; j < n; j++) {
			if (alCnt[j][i] < min) {
				min = alCnt[j][i];
			}
		}
		for (int j = 0; j < min; j++) {
			printf("%c", i + 'a');
		}
	}
	printf("\n");
	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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1208, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-5280(%rbp), %rdx
	movl	$0, %eax
	movl	$650, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-5308(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5300(%rbp)
	jmp	.L2
.L5:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5296(%rbp)
	jmp	.L3
.L4:
	movl	-5296(%rbp), %eax
	cltq
	movzbl	-80(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movslq	%ecx, %rsi
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-5280(%rbp,%rax,4), %eax
	leal	1(%rax), %esi
	movslq	%ecx, %rcx
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	%esi, -5280(%rbp,%rax,4)
	addl	$1, -5296(%rbp)
.L3:
	movl	-5296(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L4
	addl	$1, -5300(%rbp)
.L2:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5300(%rbp)
	jl	.L5
	movl	$0, -5292(%rbp)
	jmp	.L6
.L12:
	movl	$50, -5304(%rbp)
	movl	$0, -5288(%rbp)
	jmp	.L7
.L9:
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	cmpl	%eax, -5304(%rbp)
	jle	.L8
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	movl	%eax, -5304(%rbp)
.L8:
	addl	$1, -5288(%rbp)
.L7:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5288(%rbp)
	jl	.L9
	movl	$0, -5284(%rbp)
	jmp	.L10
.L11:
	movl	-5292(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -5284(%rbp)
.L10:
	movl	-5284(%rbp), %eax
	cmpl	-5304(%rbp), %eax
	jl	.L11
	addl	$1, -5292(%rbp)
.L6:
	cmpl	$25, -5292(%rbp)
	jle	.L12
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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	"%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
	pushq	%rbx
	subq	$4096, %rsp
	orq	$0, (%rsp)
	subq	$1208, %rsp
	.cfi_offset 3, -24
	movq	%fs:40, %rax
	movq	%rax, -24(%rbp)
	xorl	%eax, %eax
	leaq	-5280(%rbp), %rdx
	movl	$0, %eax
	movl	$650, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-5308(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5300(%rbp)
	jmp	.L2
.L5:
	leaq	-80(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -5296(%rbp)
	jmp	.L3
.L4:
	movl	-5296(%rbp), %eax
	cltq
	movzbl	-80(%rbp,%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movslq	%ecx, %rsi
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	movl	-5280(%rbp,%rax,4), %eax
	leal	1(%rax), %esi
	movslq	%ecx, %rcx
	movl	-5300(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	%esi, -5280(%rbp,%rax,4)
	addl	$1, -5296(%rbp)
.L3:
	movl	-5296(%rbp), %eax
	movslq	%eax, %rbx
	leaq	-80(%rbp), %rax
	movq	%rax, %rdi
	call	strlen@PLT
	cmpq	%rax, %rbx
	jb	.L4
	addl	$1, -5300(%rbp)
.L2:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5300(%rbp)
	jl	.L5
	movl	$0, -5292(%rbp)
	jmp	.L6
.L12:
	movl	$50, -5304(%rbp)
	movl	$0, -5288(%rbp)
	jmp	.L7
.L9:
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	cmpl	%eax, -5304(%rbp)
	jle	.L8
	movl	-5292(%rbp), %eax
	movslq	%eax, %rcx
	movl	-5288(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	movl	-5280(%rbp,%rax,4), %eax
	movl	%eax, -5304(%rbp)
.L8:
	addl	$1, -5288(%rbp)
.L7:
	movl	-5308(%rbp), %eax
	cmpl	%eax, -5288(%rbp)
	jl	.L9
	movl	$0, -5284(%rbp)
	jmp	.L10
.L11:
	movl	-5292(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -5284(%rbp)
.L10:
	movl	-5284(%rbp), %eax
	cmpl	-5304(%rbp), %eax
	jl	.L11
	addl	$1, -5292(%rbp)
.L6:
	cmpl	$25, -5292(%rbp)
	jle	.L12
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	-24(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L14
	call	__stack_chk_fail@PLT
.L14:
	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:
