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(void){
  struct data{
    char name[11];
    unsigned int point;
    unsigned char times[31];
  }person[20];
  unsigned int i,j,k,m,n,t,num;
  while(scanf("%u%*c",&n) && n){
    for(i=0;i<n;i++){
      scanf("%s%*c",person[i].name);
      person[i].point=0;
      for(j=0;j<31;j++) person[i].times[j]=0;
      scanf("%u%*c",&m);
      for(j=0;j<m;j++){
	scanf("%u%*c",&t);
	person[i].times[t]=1;
      }
    }
    for(i=0;i<31;i++){
      num=0;
      for(j=0;j<n;j++) num+=person[j].times[i];
      for(j=0;j<n;j++) if(person[j].times[i]) person[j].point+=n-num+1;
    }
    num=0;
    for(i=1;i<n;i++) if(person[i].point<person[num].point || (person[i].point==person[num].point && strcmp(person[i].name,person[num].name)<0) ) num=i;
    printf("%u %s\n",person[num].point,person[num].name);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s%*c"
.LC1:
	.string	"%u%*c"
.LC2:
	.string	"%u %s\n"
	.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	$1008, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L21:
	movl	$0, -988(%rbp)
	jmp	.L3
.L8:
	leaq	-976(%rbp), %rcx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	$0, (%rax)
	movl	$0, -984(%rbp)
	jmp	.L4
.L5:
	movl	-984(%rbp), %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$0, (%rax)
	addl	$1, -984(%rbp)
.L4:
	cmpl	$30, -984(%rbp)
	jbe	.L5
	leaq	-1000(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -984(%rbp)
	jmp	.L6
.L7:
	leaq	-992(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-992(%rbp), %eax
	movl	%eax, %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$1, (%rax)
	addl	$1, -984(%rbp)
.L6:
	movl	-1000(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L7
	addl	$1, -988(%rbp)
.L3:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L8
	movl	$0, -988(%rbp)
	jmp	.L9
.L15:
	movl	$0, -980(%rbp)
	movl	$0, -984(%rbp)
	jmp	.L10
.L11:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	addl	%eax, -980(%rbp)
	addl	$1, -984(%rbp)
.L10:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L11
	movl	$0, -984(%rbp)
	jmp	.L12
.L14:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L13
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %edx
	movl	-996(%rbp), %eax
	subl	-980(%rbp), %eax
	addl	%edx, %eax
	leal	1(%rax), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	%ecx, (%rax)
.L13:
	addl	$1, -984(%rbp)
.L12:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L14
	addl	$1, -988(%rbp)
.L9:
	cmpl	$30, -988(%rbp)
	jbe	.L15
	movl	$0, -980(%rbp)
	movl	$1, -988(%rbp)
	jmp	.L16
.L19:
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jb	.L17
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L18
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-976(%rbp), %rsi
	movl	-988(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jns	.L18
.L17:
	movl	-988(%rbp), %eax
	movl	%eax, -980(%rbp)
.L18:
	addl	$1, -988(%rbp)
.L16:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L19
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	movl	-980(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-996(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L20
	movl	-996(%rbp), %eax
	testl	%eax, %eax
	jne	.L21
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"%s%*c"
.LC1:
	.string	"%u%*c"
.LC2:
	.string	"%u %s\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1032, %rsp
	.cfi_def_cfa_offset 1088
	movq	%fs:40, %rax
	movq	%rax, 1016(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	96(%rsp), %rax
	movq	%rax, 24(%rsp)
.L2:
	movq	16(%rsp), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L17
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L17
	leaq	36(%rsp), %rax
	movq	8(%rsp), %r13
	xorl	%r14d, %r14d
	leaq	44(%rsp), %r12
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	call	__isoc99_scanf@PLT
	xorl	%edx, %edx
	movb	$0, 46(%r13)
	pxor	%xmm0, %xmm0
	movw	%dx, 44(%r13)
	movq	(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movl	$0, 12(%r13)
	movq	$0, 32(%r13)
	movl	$0, 40(%r13)
	movups	%xmm0, 16(%r13)
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ecx
	movl	%r14d, %eax
	testl	%ecx, %ecx
	je	.L6
	leaq	(%rax,%rax,2), %rbx
	salq	$4, %rbx
	leaq	1024(%rbx), %rax
	leaq	(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movb	$1, -960(%rax,%rbx)
	cmpl	%r15d, 36(%rsp)
	ja	.L3
.L6:
	movl	40(%rsp), %ebx
	addl	$1, %r14d
	addq	$48, %r13
	cmpl	%r14d, %ebx
	ja	.L4
	leal	-1(%rbx), %eax
	movq	24(%rsp), %rdx
	xorl	%ecx, %ecx
	leal	1(%rbx), %r9d
	leaq	(%rax,%rax,2), %rax
	movq	$-48, %r8
	salq	$4, %rax
	leaq	(%rdx,%rax), %rsi
	movq	8(%rsp), %rdx
	subq	%rax, %r8
	leaq	60(%rdx,%rax), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	(%r8,%rsi), %rax
	xorl	%edx, %edx
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	16(%rax), %r10d
	addq	$48, %rax
	addl	%r10d, %edx
	cmpq	%rsi, %rax
	jne	.L7
	movl	%r9d, %r10d
	leaq	60(%rsp), %rax
	subl	%edx, %r10d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$0, 4(%rax,%rcx)
	je	.L8
	addl	%r10d, (%rax)
.L8:
	addq	$48, %rax
	cmpq	%rax, %rdi
	jne	.L9
.L14:
	addq	$1, %rcx
	addq	$1, %rsi
	cmpq	$31, %rcx
	jne	.L10
	movl	60(%rsp), %r14d
	movq	8(%rsp), %rcx
	leaq	96(%rsp), %r13
	xorl	%r15d, %r15d
	movl	$1, %r12d
	cmpl	$1, %ebx
	ja	.L16
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L38:
	jne	.L15
	movl	%r15d, %eax
	movq	%r13, %rdi
	leaq	(%rax,%rax,2), %rsi
	salq	$4, %rsi
	addq	8(%rsp), %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	cmovs	%r12, %r15
.L15:
	addl	$1, %r12d
	addq	$48, %r13
	cmpl	%r12d, %ebx
	je	.L37
.L16:
	movl	12(%r13), %eax
	cmpl	%r14d, %eax
	jnb	.L38
	movl	%r12d, %r15d
	addl	$1, %r12d
	movl	%eax, %r14d
	addq	$48, %r13
	cmpl	%r12d, %ebx
	jne	.L16
.L37:
	leaq	(%r15,%r15,2), %rcx
	salq	$4, %rcx
	addq	8(%rsp), %rcx
.L12:
	movl	%r14d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L17:
	movq	1016(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$1032, %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
.L39:
	.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	"%s%*c"
.LC1:
	.string	"%u%*c"
.LC2:
	.string	"%u %s\n"
	.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
	leaq	.LC1(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$1032, %rsp
	.cfi_def_cfa_offset 1088
	movq	%fs:40, %rax
	movq	%rax, 1016(%rsp)
	xorl	%eax, %eax
	leaq	40(%rsp), %rax
	movq	%rax, 16(%rsp)
	leaq	48(%rsp), %rax
	movq	%rax, 8(%rsp)
	leaq	96(%rsp), %rax
	movq	%rax, 24(%rsp)
.L2:
	movq	16(%rsp), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L17
	movl	40(%rsp), %eax
	testl	%eax, %eax
	je	.L17
	leaq	36(%rsp), %rax
	movq	8(%rsp), %r13
	xorl	%r14d, %r14d
	leaq	44(%rsp), %r12
	movq	%rax, (%rsp)
	.p2align 4,,10
	.p2align 3
.L4:
	movq	%r13, %rsi
	leaq	.LC0(%rip), %rdi
	xorl	%eax, %eax
	xorl	%r15d, %r15d
	call	__isoc99_scanf@PLT
	xorl	%edx, %edx
	movb	$0, 46(%r13)
	pxor	%xmm0, %xmm0
	movw	%dx, 44(%r13)
	movq	(%rsp), %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	movl	$0, 12(%r13)
	movq	$0, 32(%r13)
	movl	$0, 40(%r13)
	movups	%xmm0, 16(%r13)
	call	__isoc99_scanf@PLT
	movl	36(%rsp), %ecx
	movl	%r14d, %eax
	testl	%ecx, %ecx
	je	.L6
	leaq	(%rax,%rax,2), %rbx
	salq	$4, %rbx
	leaq	1024(%rbx), %rax
	leaq	(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%r12, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r15d
	call	__isoc99_scanf@PLT
	movl	44(%rsp), %eax
	movb	$1, -960(%rax,%rbx)
	cmpl	%r15d, 36(%rsp)
	ja	.L3
.L6:
	movl	40(%rsp), %ebx
	addl	$1, %r14d
	addq	$48, %r13
	cmpl	%r14d, %ebx
	ja	.L4
	leal	-1(%rbx), %eax
	movq	24(%rsp), %rdx
	xorl	%ecx, %ecx
	leal	1(%rbx), %r9d
	leaq	(%rax,%rax,2), %rax
	movq	$-48, %r8
	salq	$4, %rax
	leaq	(%rdx,%rax), %rsi
	movq	8(%rsp), %rdx
	subq	%rax, %r8
	leaq	60(%rdx,%rax), %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	leaq	(%r8,%rsi), %rax
	xorl	%edx, %edx
	testl	%ebx, %ebx
	je	.L14
	.p2align 4,,10
	.p2align 3
.L7:
	movzbl	16(%rax), %r10d
	addq	$48, %rax
	addl	%r10d, %edx
	cmpq	%rsi, %rax
	jne	.L7
	movl	%r9d, %r10d
	leaq	60(%rsp), %rax
	subl	%edx, %r10d
	.p2align 4,,10
	.p2align 3
.L9:
	cmpb	$0, 4(%rax,%rcx)
	je	.L8
	addl	%r10d, (%rax)
.L8:
	addq	$48, %rax
	cmpq	%rax, %rdi
	jne	.L9
.L14:
	addq	$1, %rcx
	addq	$1, %rsi
	cmpq	$31, %rcx
	jne	.L10
	movl	60(%rsp), %r14d
	movq	8(%rsp), %rcx
	leaq	96(%rsp), %r13
	xorl	%r15d, %r15d
	movl	$1, %r12d
	cmpl	$1, %ebx
	ja	.L16
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L38:
	jne	.L15
	movl	%r15d, %eax
	movq	%r13, %rdi
	leaq	(%rax,%rax,2), %rsi
	salq	$4, %rsi
	addq	8(%rsp), %rsi
	call	strcmp@PLT
	testl	%eax, %eax
	cmovs	%r12, %r15
.L15:
	addl	$1, %r12d
	addq	$48, %r13
	cmpl	%r12d, %ebx
	je	.L37
.L16:
	movl	12(%r13), %eax
	cmpl	%r14d, %eax
	jnb	.L38
	movl	%r12d, %r15d
	addl	$1, %r12d
	movl	%eax, %r14d
	addq	$48, %r13
	cmpl	%r12d, %ebx
	jne	.L16
.L37:
	leaq	(%r15,%r15,2), %rcx
	salq	$4, %rcx
	addq	8(%rsp), %rcx
.L12:
	movl	%r14d, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L2
.L17:
	movq	1016(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L39
	addq	$1032, %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
.L39:
	.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(void){
  struct data{
    char name[11];
    unsigned int point;
    unsigned char times[31];
  }person[20];
  unsigned int i,j,k,m,n,t,num;
  while(scanf("%u%*c",&n) && n){
    for(i=0;i<n;i++){
      scanf("%s%*c",person[i].name);
      person[i].point=0;
      for(j=0;j<31;j++) person[i].times[j]=0;
      scanf("%u%*c",&m);
      for(j=0;j<m;j++){
	scanf("%u%*c",&t);
	person[i].times[t]=1;
      }
    }
    for(i=0;i<31;i++){
      num=0;
      for(j=0;j<n;j++) num+=person[j].times[i];
      for(j=0;j<n;j++) if(person[j].times[i]) person[j].point+=n-num+1;
    }
    num=0;
    for(i=1;i<n;i++) if(person[i].point<person[num].point || (person[i].point==person[num].point && strcmp(person[i].name,person[num].name)<0) ) num=i;
    printf("%u %s\n",person[num].point,person[num].name);
  }
  return 0;
}
4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 12 15 16 20 25 28
mktkkc 6 0 1 8 15 17 20
tknsj 6 6 8 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 4 20
ktrotns 6 7 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 13 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 11 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksqg 8 3 4 13 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 1 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
grskyhc 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 5 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 14
chyksrg 8 3 4 13 15 16 20 6 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 23 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 5 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgni 2 4 9
chyksqg 8 3 4 13 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 0 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
grskyhc 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 2 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 13 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 6 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
grskyhc 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhggwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
ionmrs 3 9 15 16
ktrotns 5 7 12 18 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 13 15 16 20 6 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 0 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 1 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 0 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 12 15 16 20 25 28
mktkkc 6 0 1 8 15 17 20
tknsj 6 6 8 18 19 25 26
yyitktk 3 3 20 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 4 20
ktrotns 6 7 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 12
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 10 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 6 16 21 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
smemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 12 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 1 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 4 20
ktrotns 6 3 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 7 12 16 17 20
0
 4
akzakr 2 1 8
fnmyi 5 2 3 4 6 9
tsnukk 5 2 3 4 7 9
yskwcnt 6 3 4 7 8 9 10
4
akzakr 1 2
fnmyi 3 7 11 12
tsnukk 2 1 8
yskwcnt 2 1 8
5
knmmdk 2 13 19
akmhmr 4 13 15 19 22
mksyk 6 3 7 12 13 15 19
skrkyk 3 1 4 8
tmemm 3 1 17 24
5
knmmdk 5 5 12 16 18 26
akmhmr 9 3 4 7 11 14 15 17 18 20
mksyk 5 6 13 25 27 28
skrkyk 4 3 16 23 24
tmemm 3 6 12 20
14
hrkamm 6 4 6 8 10 20 22
mkhsi 6 1 10 12 15 22 27
hbkgnh 2 4 9
chyksrg 8 3 4 12 15 16 20 25 28
mktkkc 6 0 1 8 15 5 20
tknsj 6 6 8 18 19 25 26
yyitktk 3 3 12 18
ykhhgwr 5 3 9 10 11 24
amftm 7 2 6 8 12 13 14 17
mmftm 4 6 12 16 18
rtkakzk 3 14 15 21
azsmur 7 1 2 4 12 15 18 20
iormns 2 4 20
ktrotns 6 7 12 14 17 20 25
14
hrkamm 2 4 21
mkhsi 6 2 3 8 11 18 20
hbkgnh 4 4 16 28 29
chyksrg 5 1 3 9 17 22
mktkkc 2 7 18
tknsj 3 3 9 23
yyitktk 3 10 13 25
ykhhgwr 2 18 26
amftm 3 13 18 22
mmftm 4 1 20 24 27
rtkakzk 2 1 10
azsmur 5 2 5 10 14 17
iormns 3 9 15 16
ktrotns 5 9 12 16 17 20
0

7 akzakr
4 akzakr
6 knmmdk
12 tmemm
19 iormns
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
22 iormns
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
22 iormns
24 rtkakzk
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
22 hbkgnh
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
21 iormns
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
22 iormns
23 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
22 iormns
23 rtkakzk
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
18 iormns
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 smemm
19 iormns
24 mktkkc
 7 akzakr
4 akzakr
6 knmmdk
12 tmemm
19 iormns
24 rtkakzk

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(void){
  struct data{
    char name[11];
    unsigned int point;
    unsigned char times[31];
  }person[20];
  unsigned int i,j,k,m,n,t,num;
  while(scanf("%u%*c",&n) && n){
    for(i=0;i<n;i++){
      scanf("%s%*c",person[i].name);
      person[i].point=0;
      for(j=0;j<31;j++) person[i].times[j]=0;
      scanf("%u%*c",&m);
      for(j=0;j<m;j++){
	scanf("%u%*c",&t);
	person[i].times[t]=1;
      }
    }
    for(i=0;i<31;i++){
      num=0;
      for(j=0;j<n;j++) num+=person[j].times[i];
      for(j=0;j<n;j++) if(person[j].times[i]) person[j].point+=n-num+1;
    }
    num=0;
    for(i=1;i<n;i++) if(person[i].point<person[num].point || (person[i].point==person[num].point && strcmp(person[i].name,person[num].name)<0) ) num=i;
    printf("%u %s\n",person[num].point,person[num].name);
  }
  return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%s%*c"
.LC1:
	.string	"%u%*c"
.LC2:
	.string	"%u %s\n"
	.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	$1008, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L21:
	movl	$0, -988(%rbp)
	jmp	.L3
.L8:
	leaq	-976(%rbp), %rcx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	$0, (%rax)
	movl	$0, -984(%rbp)
	jmp	.L4
.L5:
	movl	-984(%rbp), %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$0, (%rax)
	addl	$1, -984(%rbp)
.L4:
	cmpl	$30, -984(%rbp)
	jbe	.L5
	leaq	-1000(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -984(%rbp)
	jmp	.L6
.L7:
	leaq	-992(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-992(%rbp), %eax
	movl	%eax, %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$1, (%rax)
	addl	$1, -984(%rbp)
.L6:
	movl	-1000(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L7
	addl	$1, -988(%rbp)
.L3:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L8
	movl	$0, -988(%rbp)
	jmp	.L9
.L15:
	movl	$0, -980(%rbp)
	movl	$0, -984(%rbp)
	jmp	.L10
.L11:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	addl	%eax, -980(%rbp)
	addl	$1, -984(%rbp)
.L10:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L11
	movl	$0, -984(%rbp)
	jmp	.L12
.L14:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L13
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %edx
	movl	-996(%rbp), %eax
	subl	-980(%rbp), %eax
	addl	%edx, %eax
	leal	1(%rax), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	%ecx, (%rax)
.L13:
	addl	$1, -984(%rbp)
.L12:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L14
	addl	$1, -988(%rbp)
.L9:
	cmpl	$30, -988(%rbp)
	jbe	.L15
	movl	$0, -980(%rbp)
	movl	$1, -988(%rbp)
	jmp	.L16
.L19:
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jb	.L17
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L18
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-976(%rbp), %rsi
	movl	-988(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jns	.L18
.L17:
	movl	-988(%rbp), %eax
	movl	%eax, -980(%rbp)
.L18:
	addl	$1, -988(%rbp)
.L16:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L19
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	movl	-980(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-996(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L20
	movl	-996(%rbp), %eax
	testl	%eax, %eax
	jne	.L21
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"%s%*c"
.LC1:
	.string	"%u%*c"
.LC2:
	.string	"%u %s\n"
	.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	$1008, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	jmp	.L2
.L21:
	movl	$0, -988(%rbp)
	jmp	.L3
.L8:
	leaq	-976(%rbp), %rcx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	$0, (%rax)
	movl	$0, -984(%rbp)
	jmp	.L4
.L5:
	movl	-984(%rbp), %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$0, (%rax)
	addl	$1, -984(%rbp)
.L4:
	cmpl	$30, -984(%rbp)
	jbe	.L5
	leaq	-1000(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -984(%rbp)
	jmp	.L6
.L7:
	leaq	-992(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-992(%rbp), %eax
	movl	%eax, %ecx
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movb	$1, (%rax)
	addl	$1, -984(%rbp)
.L6:
	movl	-1000(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L7
	addl	$1, -988(%rbp)
.L3:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L8
	movl	$0, -988(%rbp)
	jmp	.L9
.L15:
	movl	$0, -980(%rbp)
	movl	$0, -984(%rbp)
	jmp	.L10
.L11:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	movzbl	%al, %eax
	addl	%eax, -980(%rbp)
	addl	$1, -984(%rbp)
.L10:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L11
	movl	$0, -984(%rbp)
	jmp	.L12
.L14:
	movl	-988(%rbp), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	addq	%rcx, %rax
	subq	$960, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L13
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %edx
	movl	-996(%rbp), %eax
	subl	-980(%rbp), %eax
	addl	%edx, %eax
	leal	1(%rax), %ecx
	movl	-984(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	%ecx, (%rax)
.L13:
	addl	$1, -984(%rbp)
.L12:
	movl	-996(%rbp), %eax
	cmpl	%eax, -984(%rbp)
	jb	.L14
	addl	$1, -988(%rbp)
.L9:
	cmpl	$30, -988(%rbp)
	jbe	.L15
	movl	$0, -980(%rbp)
	movl	$1, -988(%rbp)
	jmp	.L16
.L19:
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jb	.L17
	movl	-988(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %ecx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	cmpl	%eax, %ecx
	jne	.L18
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	leaq	-976(%rbp), %rsi
	movl	-988(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rsi, %rax
	movq	%rdx, %rsi
	movq	%rax, %rdi
	call	strcmp@PLT
	testl	%eax, %eax
	jns	.L18
.L17:
	movl	-988(%rbp), %eax
	movl	%eax, -980(%rbp)
.L18:
	addl	$1, -988(%rbp)
.L16:
	movl	-996(%rbp), %eax
	cmpl	%eax, -988(%rbp)
	jb	.L19
	leaq	-976(%rbp), %rcx
	movl	-980(%rbp), %edx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	salq	$4, %rax
	leaq	(%rcx,%rax), %rdx
	movl	-980(%rbp), %ecx
	movq	%rcx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	salq	$4, %rax
	addq	%rbp, %rax
	subq	$964, %rax
	movl	(%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L2:
	leaq	-996(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L20
	movl	-996(%rbp), %eax
	testl	%eax, %eax
	jne	.L21
.L20:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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:
