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(void){

  int n;
  scanf("%d", &n);
  char s[n][51];
  for (int i = 0; i < n; i++) {
    scanf("%s", s[i]);
  }
  int alp_count[n][26];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 26; j++) {
      alp_count[i][j] = 0;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 51; j++) {
      if (s[i][j] < 'a' || s[i][j] > 'z') {
        break;
      }
      alp_count[i][s[i][j]-'a']++;
    }
  }
  int min;
  for (int i = 0; i < 26; i++) {
    min = 50;
    for (int j = 0; j < n; j++) {
      if (alp_count[j][i] < min) {
        min = alp_count[j][i];
      }
    }
    for (int j = 0; j < min; j++) {
      printf("%c", 'a'+i);
    }
  }
  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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -88(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-144(%rbp), %r10
	movq	-136(%rbp), %r11
	imulq	$408, %r11, %rdx
	imulq	$0, %r10, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r10
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-160(%rbp), %r8
	movq	-152(%rbp), %r9
	imulq	$408, %r9, %rdx
	imulq	$0, %r8, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r8
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -80(%rbp)
	movl	$0, -124(%rbp)
	jmp	.L5
.L6:
	movl	-124(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	movq	-80(%rbp), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L5:
	movl	-128(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L6
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	imulq	$832, %r15, %rdx
	imulq	$0, %r14, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r14
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movslq	%ecx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	imulq	$832, %r13, %rdx
	imulq	$0, %r12, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r12
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L10
.L13:
	movl	$0, -116(%rbp)
	jmp	.L11
.L12:
	movq	-64(%rbp), %rcx
	movl	-116(%rbp), %eax
	movslq	%eax, %rsi
	movl	-120(%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	$0, (%rcx,%rax,4)
	addl	$1, -116(%rbp)
.L11:
	cmpl	$25, -116(%rbp)
	jle	.L12
	addl	$1, -120(%rbp)
.L10:
	movl	-128(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L13
	movl	$0, -112(%rbp)
	jmp	.L14
.L18:
	movl	$0, -108(%rbp)
	jmp	.L15
.L17:
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$96, %al
	jle	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$122, %al
	jg	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rdi
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdi, %rax
	movl	(%rsi,%rax,4), %eax
	leal	1(%rax), %edi
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rcx
	movl	-112(%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	%edi, (%rsi,%rax,4)
	addl	$1, -108(%rbp)
.L15:
	cmpl	$50, -108(%rbp)
	jle	.L17
.L16:
	addl	$1, -112(%rbp)
.L14:
	movl	-128(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L18
	movl	$0, -100(%rbp)
	jmp	.L19
.L25:
	movl	$50, -104(%rbp)
	movl	$0, -96(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	cmpl	%eax, -104(%rbp)
	jle	.L21
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	movl	%eax, -104(%rbp)
.L21:
	addl	$1, -96(%rbp)
.L20:
	movl	-128(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jl	.L22
	movl	$0, -92(%rbp)
	jmp	.L23
.L24:
	movl	-100(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -92(%rbp)
.L23:
	movl	-92(%rbp), %eax
	cmpl	-104(%rbp), %eax
	jl	.L24
	addl	$1, -100(%rbp)
.L19:
	cmpl	$25, -100(%rbp)
	jle	.L25
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,2), %rdx
	movq	%rax, %r13
	movq	%rdx, %rcx
	salq	$4, %rcx
	leaq	15(%rdx,%rcx), %rdx
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L46:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L46
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L47
.L4:
	testl	%r13d, %r13d
	jle	.L5
	movq	%rsp, %rbx
	movq	%rsp, %r14
	leaq	.LC1(%rip), %r15
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r13d
	addq	$51, %r14
	cmpl	%r12d, %r13d
	jg	.L6
	movslq	%r13d, %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	leaq	15(,%rdx,8), %rdx
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	andq	$-16, %rcx
	subq	%rdx, %rsi
.L7:
	cmpq	%rsi, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L48
.L9:
	movq	%rsp, %rcx
	movq	%rcx, %r12
	testl	%r13d, %r13d
	jle	.L10
	leaq	(%rax,%rax,2), %rdx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	leaq	(%rax,%rdx,4), %rdx
	salq	$3, %rdx
	call	memset@PLT
	movq	%r12, %rcx
	leaq	51(%rbx), %rsi
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	%r8d, %rax
	leaq	-51(%rsi), %rdx
	leaq	(%rax,%rax,2), %rdi
	leaq	(%rax,%rdi,4), %rdi
	addq	%rdi, %rdi
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	movsbq	%al, %rax
	addq	$1, %rdx
	addq	%rdi, %rax
	addl	$1, (%rcx,%rax,4)
	cmpq	%rsi, %rdx
	je	.L15
.L14:
	movzbl	(%rdx), %eax
	subl	$97, %eax
	cmpb	$25, %al
	jbe	.L11
.L15:
	addl	$1, %r8d
	addq	$51, %rsi
	cmpl	%r8d, %r13d
	jne	.L12
.L13:
	leaq	104(%r12), %rax
	xorl	%r13d, %r13d
	movq	%rax, -72(%rbp)
	.p2align 4,,10
	.p2align 3
.L16:
	movl	$50, %ebx
	testl	%r8d, %r8d
	jle	.L18
	leal	-1(%r8), %edx
	movq	-72(%rbp), %rsi
	leaq	(%r12,%r13,4), %rax
	movl	$50, %ebx
	leaq	(%rdx,%rdx,2), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	leaq	0(%r13,%rdx,2), %rdx
	leaq	(%rsi,%rdx,4), %rcx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	cmovg	%edx, %ebx
	addq	$104, %rax
	cmpq	%rcx, %rax
	jne	.L17
	testl	%ebx, %ebx
	jle	.L22
.L18:
	leal	97(%r13), %r15d
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L21:
	movl	%r15d, %edi
	addl	$1, %r14d
	call	putchar@PLT
	cmpl	%ebx, %r14d
	jl	.L21
.L22:
	addq	$1, %r13
	cmpq	$26, %r13
	je	.L49
	movl	-60(%rbp), %r8d
	jmp	.L16
.L49:
	movl	$10, %edi
	call	putchar@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L50
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L48:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L9
.L47:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	imulq	$104, %rax, %rax
	movq	%rsp, %rcx
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	andq	$-16, %rdx
	subq	%rax, %rcx
.L24:
	cmpq	%rcx, %rsp
	je	.L25
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L24
.L25:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L26
	orq	$0, -8(%rsp,%rax)
.L26:
	movq	%rsp, %r12
.L10:
	movl	%r13d, %r8d
	jmp	.L13
.L50:
	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"
.LC1:
	.string	"%s"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	pushq	%r15
	pushq	%r14
	leaq	-60(%rbp), %rsi
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$40, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movslq	-60(%rbp), %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,2), %rdx
	movq	%rax, %r13
	movq	%rdx, %rcx
	salq	$4, %rcx
	leaq	15(%rdx,%rcx), %rdx
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	subq	%rdx, %rsi
	andq	$-16, %rcx
	cmpq	%rsi, %rsp
	je	.L3
.L46:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rsi, %rsp
	jne	.L46
.L3:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L47
.L4:
	testl	%r13d, %r13d
	jle	.L5
	movq	%rsp, %rbx
	movq	%rsp, %r14
	leaq	.LC1(%rip), %r15
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L6:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	-60(%rbp), %r13d
	addq	$51, %r14
	cmpl	%r12d, %r13d
	jg	.L6
	movslq	%r13d, %rax
	movq	%rsp, %rsi
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	leaq	15(,%rdx,8), %rdx
	movq	%rdx, %rcx
	andq	$-4096, %rdx
	andq	$-16, %rcx
	subq	%rdx, %rsi
.L7:
	cmpq	%rsi, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	andl	$4095, %ecx
	subq	%rcx, %rsp
	testq	%rcx, %rcx
	jne	.L48
.L9:
	movq	%rsp, %rcx
	movq	%rcx, %r12
	testl	%r13d, %r13d
	jle	.L10
	leaq	(%rax,%rax,2), %rdx
	xorl	%esi, %esi
	movq	%rcx, %rdi
	leaq	(%rax,%rdx,4), %rdx
	salq	$3, %rdx
	call	memset@PLT
	movq	%r12, %rcx
	leaq	51(%rbx), %rsi
	xorl	%r8d, %r8d
	.p2align 4,,10
	.p2align 3
.L12:
	movslq	%r8d, %rax
	leaq	-51(%rsi), %rdx
	leaq	(%rax,%rax,2), %rdi
	leaq	(%rax,%rdi,4), %rdi
	addq	%rdi, %rdi
	jmp	.L14
	.p2align 4,,10
	.p2align 3
.L11:
	movsbq	%al, %rax
	addq	$1, %rdx
	addq	%rdi, %rax
	addl	$1, (%rcx,%rax,4)
	cmpq	%rsi, %rdx
	je	.L15
.L14:
	movzbl	(%rdx), %eax
	subl	$97, %eax
	cmpb	$25, %al
	jbe	.L11
.L15:
	addl	$1, %r8d
	addq	$51, %rsi
	cmpl	%r8d, %r13d
	jne	.L12
.L13:
	leaq	104(%r12), %rax
	xorl	%r13d, %r13d
	movq	%rax, -72(%rbp)
	.p2align 4,,10
	.p2align 3
.L16:
	movl	$50, %ebx
	testl	%r8d, %r8d
	jle	.L18
	leal	-1(%r8), %edx
	movq	-72(%rbp), %rsi
	leaq	(%r12,%r13,4), %rax
	movl	$50, %ebx
	leaq	(%rdx,%rdx,2), %rcx
	leaq	(%rdx,%rcx,4), %rdx
	leaq	0(%r13,%rdx,2), %rdx
	leaq	(%rsi,%rdx,4), %rcx
	.p2align 4,,10
	.p2align 3
.L17:
	movl	(%rax), %edx
	cmpl	%edx, %ebx
	cmovg	%edx, %ebx
	addq	$104, %rax
	cmpq	%rcx, %rax
	jne	.L17
	testl	%ebx, %ebx
	jle	.L22
.L18:
	leal	97(%r13), %r15d
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L21:
	movl	%r15d, %edi
	addl	$1, %r14d
	call	putchar@PLT
	cmpl	%ebx, %r14d
	jl	.L21
.L22:
	addq	$1, %r13
	cmpq	$26, %r13
	je	.L49
	movl	-60(%rbp), %r8d
	jmp	.L16
.L49:
	movl	$10, %edi
	call	putchar@PLT
	movq	-56(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L50
	leaq	-40(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L48:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rcx)
	jmp	.L9
.L47:
	orq	$0, -8(%rsp,%rcx)
	jmp	.L4
.L5:
	imulq	$104, %rax, %rax
	movq	%rsp, %rcx
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	andq	$-16, %rdx
	subq	%rax, %rcx
.L24:
	cmpq	%rcx, %rsp
	je	.L25
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L24
.L25:
	movq	%rdx, %rax
	andl	$4095, %eax
	subq	%rax, %rsp
	testq	%rax, %rax
	je	.L26
	orq	$0, -8(%rsp,%rax)
.L26:
	movq	%rsp, %r12
.L10:
	movl	%r13d, %r8d
	jmp	.L13
.L50:
	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(void){

  int n;
  scanf("%d", &n);
  char s[n][51];
  for (int i = 0; i < n; i++) {
    scanf("%s", s[i]);
  }
  int alp_count[n][26];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 26; j++) {
      alp_count[i][j] = 0;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 51; j++) {
      if (s[i][j] < 'a' || s[i][j] > 'z') {
        break;
      }
      alp_count[i][s[i][j]-'a']++;
    }
  }
  int min;
  for (int i = 0; i < 26; i++) {
    min = 50;
    for (int j = 0; j < n; j++) {
      if (alp_count[j][i] < min) {
        min = alp_count[j][i];
      }
    }
    for (int j = 0; j < min; j++) {
      printf("%c", 'a'+i);
    }
  }
  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
 a
 acc
 a
 d
 b
 cc

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(void){

  int n;
  scanf("%d", &n);
  char s[n][51];
  for (int i = 0; i < n; i++) {
    scanf("%s", s[i]);
  }
  int alp_count[n][26];
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 26; j++) {
      alp_count[i][j] = 0;
    }
  }
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < 51; j++) {
      if (s[i][j] < 'a' || s[i][j] > 'z') {
        break;
      }
      alp_count[i][s[i][j]-'a']++;
    }
  }
  int min;
  for (int i = 0; i < 26; i++) {
    min = 50;
    for (int j = 0; j < n; j++) {
      if (alp_count[j][i] < min) {
        min = alp_count[j][i];
      }
    }
    for (int j = 0; j < min; j++) {
      printf("%c", 'a'+i);
    }
  }
  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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -88(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-144(%rbp), %r10
	movq	-136(%rbp), %r11
	imulq	$408, %r11, %rdx
	imulq	$0, %r10, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r10
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-160(%rbp), %r8
	movq	-152(%rbp), %r9
	imulq	$408, %r9, %rdx
	imulq	$0, %r8, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r8
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -80(%rbp)
	movl	$0, -124(%rbp)
	jmp	.L5
.L6:
	movl	-124(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	movq	-80(%rbp), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L5:
	movl	-128(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L6
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	imulq	$832, %r15, %rdx
	imulq	$0, %r14, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r14
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movslq	%ecx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	imulq	$832, %r13, %rdx
	imulq	$0, %r12, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r12
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L10
.L13:
	movl	$0, -116(%rbp)
	jmp	.L11
.L12:
	movq	-64(%rbp), %rcx
	movl	-116(%rbp), %eax
	movslq	%eax, %rsi
	movl	-120(%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	$0, (%rcx,%rax,4)
	addl	$1, -116(%rbp)
.L11:
	cmpl	$25, -116(%rbp)
	jle	.L12
	addl	$1, -120(%rbp)
.L10:
	movl	-128(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L13
	movl	$0, -112(%rbp)
	jmp	.L14
.L18:
	movl	$0, -108(%rbp)
	jmp	.L15
.L17:
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$96, %al
	jle	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$122, %al
	jg	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rdi
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdi, %rax
	movl	(%rsi,%rax,4), %eax
	leal	1(%rax), %edi
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rcx
	movl	-112(%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	%edi, (%rsi,%rax,4)
	addl	$1, -108(%rbp)
.L15:
	cmpl	$50, -108(%rbp)
	jle	.L17
.L16:
	addl	$1, -112(%rbp)
.L14:
	movl	-128(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L18
	movl	$0, -100(%rbp)
	jmp	.L19
.L25:
	movl	$50, -104(%rbp)
	movl	$0, -96(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	cmpl	%eax, -104(%rbp)
	jle	.L21
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	movl	%eax, -104(%rbp)
.L21:
	addl	$1, -96(%rbp)
.L20:
	movl	-128(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jl	.L22
	movl	$0, -92(%rbp)
	jmp	.L23
.L24:
	movl	-100(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -92(%rbp)
.L23:
	movl	-92(%rbp), %eax
	cmpl	-104(%rbp), %eax
	jl	.L24
	addl	$1, -100(%rbp)
.L19:
	cmpl	$25, -100(%rbp)
	jle	.L25
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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	%r15
	pushq	%r14
	pushq	%r13
	pushq	%r12
	pushq	%rbx
	subq	$120, %rsp
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	movq	%fs:40, %rax
	movq	%rax, -56(%rbp)
	xorl	%eax, %eax
	movq	%rsp, %rax
	movq	%rax, %rbx
	leaq	-128(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -88(%rbp)
	movslq	%ecx, %rax
	movq	%rax, -144(%rbp)
	movq	$0, -136(%rbp)
	movq	-144(%rbp), %r10
	movq	-136(%rbp), %r11
	imulq	$408, %r11, %rdx
	imulq	$0, %r10, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r10
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rax
	movq	%rax, -160(%rbp)
	movq	$0, -152(%rbp)
	movq	-160(%rbp), %r8
	movq	-152(%rbp), %r9
	imulq	$408, %r9, %rdx
	imulq	$0, %r8, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$408, %eax
	mulq	%r8
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L2:
	cmpq	%rdx, %rsp
	je	.L3
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L2
.L3:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L4
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L4:
	movq	%rsp, %rax
	addq	$0, %rax
	movq	%rax, -80(%rbp)
	movl	$0, -124(%rbp)
	jmp	.L5
.L6:
	movl	-124(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	movq	-80(%rbp), %rdx
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -124(%rbp)
.L5:
	movl	-128(%rbp), %eax
	cmpl	%eax, -124(%rbp)
	jl	.L6
	movl	-128(%rbp), %ecx
	movslq	%ecx, %rax
	subq	$1, %rax
	movq	%rax, -72(%rbp)
	movslq	%ecx, %rax
	movq	%rax, %r14
	movl	$0, %r15d
	imulq	$832, %r15, %rdx
	imulq	$0, %r14, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r14
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movslq	%ecx, %rax
	movq	%rax, %r12
	movl	$0, %r13d
	imulq	$832, %r13, %rdx
	imulq	$0, %r12, %rax
	leaq	(%rdx,%rax), %rsi
	movl	$832, %eax
	mulq	%r12
	addq	%rdx, %rsi
	movq	%rsi, %rdx
	movslq	%ecx, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	movq	%rax, %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %edi
	movl	$0, %edx
	divq	%rdi
	imulq	$16, %rax, %rax
	movq	%rax, %rcx
	andq	$-4096, %rcx
	movq	%rsp, %rdx
	subq	%rcx, %rdx
.L7:
	cmpq	%rdx, %rsp
	je	.L8
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	jmp	.L7
.L8:
	movq	%rax, %rdx
	andl	$4095, %edx
	subq	%rdx, %rsp
	movq	%rax, %rdx
	andl	$4095, %edx
	testq	%rdx, %rdx
	je	.L9
	andl	$4095, %eax
	subq	$8, %rax
	addq	%rsp, %rax
	orq	$0, (%rax)
.L9:
	movq	%rsp, %rax
	addq	$3, %rax
	shrq	$2, %rax
	salq	$2, %rax
	movq	%rax, -64(%rbp)
	movl	$0, -120(%rbp)
	jmp	.L10
.L13:
	movl	$0, -116(%rbp)
	jmp	.L11
.L12:
	movq	-64(%rbp), %rcx
	movl	-116(%rbp), %eax
	movslq	%eax, %rsi
	movl	-120(%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	$0, (%rcx,%rax,4)
	addl	$1, -116(%rbp)
.L11:
	cmpl	$25, -116(%rbp)
	jle	.L12
	addl	$1, -120(%rbp)
.L10:
	movl	-128(%rbp), %eax
	cmpl	%eax, -120(%rbp)
	jl	.L13
	movl	$0, -112(%rbp)
	jmp	.L14
.L18:
	movl	$0, -108(%rbp)
	jmp	.L15
.L17:
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$96, %al
	jle	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	cmpb	$122, %al
	jg	.L16
	movq	-80(%rbp), %rsi
	movl	-108(%rbp), %eax
	movslq	%eax, %rcx
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	movq	%rax, %rdx
	salq	$4, %rdx
	addq	%rdx, %rax
	addq	%rsi, %rax
	addq	%rcx, %rax
	movzbl	(%rax), %eax
	movsbl	%al, %eax
	leal	-97(%rax), %ecx
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rdi
	movl	-112(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdi, %rax
	movl	(%rsi,%rax,4), %eax
	leal	1(%rax), %edi
	movq	-64(%rbp), %rsi
	movslq	%ecx, %rcx
	movl	-112(%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	%edi, (%rsi,%rax,4)
	addl	$1, -108(%rbp)
.L15:
	cmpl	$50, -108(%rbp)
	jle	.L17
.L16:
	addl	$1, -112(%rbp)
.L14:
	movl	-128(%rbp), %eax
	cmpl	%eax, -112(%rbp)
	jl	.L18
	movl	$0, -100(%rbp)
	jmp	.L19
.L25:
	movl	$50, -104(%rbp)
	movl	$0, -96(%rbp)
	jmp	.L20
.L22:
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	cmpl	%eax, -104(%rbp)
	jle	.L21
	movq	-64(%rbp), %rcx
	movl	-100(%rbp), %eax
	movslq	%eax, %rsi
	movl	-96(%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	(%rcx,%rax,4), %eax
	movl	%eax, -104(%rbp)
.L21:
	addl	$1, -96(%rbp)
.L20:
	movl	-128(%rbp), %eax
	cmpl	%eax, -96(%rbp)
	jl	.L22
	movl	$0, -92(%rbp)
	jmp	.L23
.L24:
	movl	-100(%rbp), %eax
	addl	$97, %eax
	movl	%eax, %edi
	call	putchar@PLT
	addl	$1, -92(%rbp)
.L23:
	movl	-92(%rbp), %eax
	cmpl	-104(%rbp), %eax
	jl	.L24
	addl	$1, -100(%rbp)
.L19:
	cmpl	$25, -100(%rbp)
	jle	.L25
	movl	$10, %edi
	call	putchar@PLT
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	leaq	-40(%rbp), %rsp
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%r14
	popq	%r15
	popq	%rbp
	.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:
