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 GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[i]);
    }


    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\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	$3232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2416(%rbp), %rdx
	movl	$0, %eax
	movl	$300, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3216(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -3228(%rbp)
	jmp	.L2
.L5:
	movl	$0, -3224(%rbp)
	jmp	.L3
.L4:
	leaq	-2416(%rbp), %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3224(%rbp)
.L3:
	cmpl	$2, -3224(%rbp)
	jle	.L4
	addl	$1, -3228(%rbp)
.L2:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L5
	movl	$0, -3228(%rbp)
	jmp	.L6
.L14:
	movl	$0, -3224(%rbp)
	jmp	.L7
.L13:
	movl	$0, -3220(%rbp)
	jmp	.L8
.L11:
	movl	-3224(%rbp), %eax
	cmpl	-3220(%rbp), %eax
	je	.L9
	movl	-3228(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-2416(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L19
.L9:
	addl	$1, -3220(%rbp)
.L8:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jl	.L11
	jmp	.L10
.L19:
	nop
.L10:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jne	.L12
	movl	-3224(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-3224(%rbp), %eax
	cltq
	movl	%edx, -3216(%rbp,%rax,4)
.L12:
	addl	$1, -3224(%rbp)
.L7:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3224(%rbp)
	jl	.L13
	addl	$1, -3228(%rbp)
.L6:
	cmpl	$2, -3228(%rbp)
	jle	.L14
	movl	$0, -3228(%rbp)
	jmp	.L15
.L16:
	movl	-3228(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -3228(%rbp)
.L15:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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	"%d\n"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r14
	.cfi_def_cfa_offset 16
	.cfi_offset 14, -16
	movl	$300, %ecx
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$3232, %rsp
	.cfi_def_cfa_offset 3280
	movq	%fs:40, %rax
	movq	%rax, 3224(%rsp)
	xorl	%eax, %eax
	leaq	16(%rsp), %rbx
	leaq	12(%rsp), %rsi
	leaq	816(%rsp), %r12
	movq	%r12, %rdi
	rep stosq
	movl	$100, %ecx
	movq	%rbx, %rdi
	rep stosq
	movq	%r13, %rdi
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L15
	movq	%r12, %rbp
	xorl	%r14d, %r14d
	.p2align 4,,10
	.p2align 3
.L3:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %r14d
	call	__isoc99_scanf@PLT
	leaq	4(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	8(%rbp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %esi
	addq	$12, %rbp
	cmpl	%r14d, %esi
	jg	.L3
	testl	%esi, %esi
	jle	.L15
	movq	%r12, %rdi
	leaq	828(%rsp), %r10
.L12:
	movq	%rbx, %r9
	movq	%rdi, %r8
	xorl	%ecx, %ecx
	.p2align 4,,10
	.p2align 3
.L14:
	movq	%rdi, %rdx
	xorl	%eax, %eax
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%eax, %ecx
	je	.L5
	movl	(%rdx), %r11d
	cmpl	%r11d, (%r8)
	je	.L6
.L5:
	addl	$1, %eax
	addq	$12, %rdx
	cmpl	%eax, %esi
	jne	.L7
.L8:
	movl	(%r8), %eax
	addl	%eax, (%r9)
.L9:
	addl	$1, %ecx
	addq	$4, %r9
	addq	$12, %r8
	cmpl	%ecx, %esi
	jne	.L14
	addq	$4, %rdi
	cmpq	%r10, %rdi
	jne	.L12
	xorl	%ebp, %ebp
	leaq	.LC1(%rip), %r12
	.p2align 4,,10
	.p2align 3
.L13:
	movl	(%rbx,%rbp,4), %edx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbp
	call	__printf_chk@PLT
	cmpl	%ebp, 12(%rsp)
	jg	.L13
.L15:
	movq	3224(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L25
	addq	$3232, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 48
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 40
	popq	%rbp
	.cfi_def_cfa_offset 32
	popq	%r12
	.cfi_def_cfa_offset 24
	popq	%r13
	.cfi_def_cfa_offset 16
	popq	%r14
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L6:
	.cfi_restore_state
	cmpl	%eax, %esi
	jne	.L9
	jmp	.L8
.L25:
	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 GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[i]);
    }


    return 0;
}
5
100 99 98
100 97 68
63 89 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 63
68 99 99
89 97 98
 5
100 99 98
100 97 92
63 53 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 63
68 99 79
89 97 98
 5
100 99 98
100 97 92
63 32 63
99 99 99
89 97 98
 5
100 99 98
100 97 68
63 89 25
68 99 79
89 97 98
 5
100 99 98
000 97 92
63 32 63
99 99 99
89 97 98
 5
100 1 98
100 97 68
63 89 25
68 99 79
89 97 98
 5
100 1 98
100 97 68
44 89 25
68 99 79
89 97 98
 5
100 1 98
100 97 68
16 89 25
68 99 79
89 97 98

0
68
215
198
89
 0
68
215
167
89
 0
92
179
198
89
 0
68
215
147
89
 0
92
158
198
89
 0
68
177
147
89
 100
92
158
198
89
 1
68
177
246
89
 1
68
158
246
89
 1
68
130
246
89

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 GameBoard[200][3]={{0}};
    int PlayerPoint[200]={0};
    int N;
    int i,j,k;
    scanf("%d",&N);
    for(i=0;i<N;i++){
        for(j=0;j<3;j++){
            scanf("%d",&GameBoard[i][j]);
        }
    }

    for(i=0;i<3;i++){
        for(j=0;j<N;j++){
            for(k=0;k<N;k++){
                if(j!=k){
                    if(GameBoard[j][i]==GameBoard[k][i])break;
                }
            }
            if(k==N)PlayerPoint[j]=PlayerPoint[j]+GameBoard[j][i];
        }
    }
    for(i=0;i<N;i++){
        printf("%d\n",PlayerPoint[i]);
    }


    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\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	$3232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2416(%rbp), %rdx
	movl	$0, %eax
	movl	$300, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3216(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -3228(%rbp)
	jmp	.L2
.L5:
	movl	$0, -3224(%rbp)
	jmp	.L3
.L4:
	leaq	-2416(%rbp), %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3224(%rbp)
.L3:
	cmpl	$2, -3224(%rbp)
	jle	.L4
	addl	$1, -3228(%rbp)
.L2:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L5
	movl	$0, -3228(%rbp)
	jmp	.L6
.L14:
	movl	$0, -3224(%rbp)
	jmp	.L7
.L13:
	movl	$0, -3220(%rbp)
	jmp	.L8
.L11:
	movl	-3224(%rbp), %eax
	cmpl	-3220(%rbp), %eax
	je	.L9
	movl	-3228(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-2416(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L19
.L9:
	addl	$1, -3220(%rbp)
.L8:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jl	.L11
	jmp	.L10
.L19:
	nop
.L10:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jne	.L12
	movl	-3224(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-3224(%rbp), %eax
	cltq
	movl	%edx, -3216(%rbp,%rax,4)
.L12:
	addl	$1, -3224(%rbp)
.L7:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3224(%rbp)
	jl	.L13
	addl	$1, -3228(%rbp)
.L6:
	cmpl	$2, -3228(%rbp)
	jle	.L14
	movl	$0, -3228(%rbp)
	jmp	.L15
.L16:
	movl	-3228(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -3228(%rbp)
.L15:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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	"%d\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	$3232, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-2416(%rbp), %rdx
	movl	$0, %eax
	movl	$300, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3216(%rbp), %rdx
	movl	$0, %eax
	movl	$100, %ecx
	movq	%rdx, %rdi
	rep stosq
	leaq	-3232(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -3228(%rbp)
	jmp	.L2
.L5:
	movl	$0, -3224(%rbp)
	jmp	.L3
.L4:
	leaq	-2416(%rbp), %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3228(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	salq	$2, %rax
	addq	%rcx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -3224(%rbp)
.L3:
	cmpl	$2, -3224(%rbp)
	jle	.L4
	addl	$1, -3228(%rbp)
.L2:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L5
	movl	$0, -3228(%rbp)
	jmp	.L6
.L14:
	movl	$0, -3224(%rbp)
	jmp	.L7
.L13:
	movl	$0, -3220(%rbp)
	jmp	.L8
.L11:
	movl	-3224(%rbp), %eax
	cmpl	-3220(%rbp), %eax
	je	.L9
	movl	-3228(%rbp), %eax
	movslq	%eax, %rcx
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rcx, %rax
	movl	-2416(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3220(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	cmpl	%eax, %ecx
	je	.L19
.L9:
	addl	$1, -3220(%rbp)
.L8:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jl	.L11
	jmp	.L10
.L19:
	nop
.L10:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3220(%rbp)
	jne	.L12
	movl	-3224(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %ecx
	movl	-3228(%rbp), %eax
	movslq	%eax, %rsi
	movl	-3224(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	addq	%rax, %rax
	addq	%rdx, %rax
	addq	%rsi, %rax
	movl	-2416(%rbp,%rax,4), %eax
	leal	(%rcx,%rax), %edx
	movl	-3224(%rbp), %eax
	cltq
	movl	%edx, -3216(%rbp,%rax,4)
.L12:
	addl	$1, -3224(%rbp)
.L7:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3224(%rbp)
	jl	.L13
	addl	$1, -3228(%rbp)
.L6:
	cmpl	$2, -3228(%rbp)
	jle	.L14
	movl	$0, -3228(%rbp)
	jmp	.L15
.L16:
	movl	-3228(%rbp), %eax
	cltq
	movl	-3216(%rbp,%rax,4), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -3228(%rbp)
.L15:
	movl	-3232(%rbp), %eax
	cmpl	%eax, -3228(%rbp)
	jl	.L16
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	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:
