Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

int main(){
    int N;
    int a[2][110];
    int i, j, k;
    int sum, ans=0;

    scanf("%d", &N);
    for(i=0; i<2; i++){
        for(j=0; j<N; j++){
            scanf("%d", &a[i][j]);
        }
    }

    for(i=0; i<N; i++){
        sum=0;
        for(j=0; j<N; j++){
            if(j>i){
                sum+=a[1][j];
            }else if(j<i){
                sum+=a[0][j];
            }else if(j==i){
                sum+=a[0][j];
                sum+=a[1][j];
            }
        }
        if(ans<sum){
            ans=sum;
        }
    }
    printf("%d", ans);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$928, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -900(%rbp)
	leaq	-916(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -912(%rbp)
	jmp	.L2
.L5:
	movl	$0, -908(%rbp)
	jmp	.L3
.L4:
	leaq	-896(%rbp), %rdx
	movl	-908(%rbp), %eax
	movslq	%eax, %rcx
	movl	-912(%rbp), %eax
	cltq
	imulq	$110, %rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -908(%rbp)
.L3:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L4
	addl	$1, -912(%rbp)
.L2:
	cmpl	$1, -912(%rbp)
	jle	.L5
	movl	$0, -912(%rbp)
	jmp	.L6
.L13:
	movl	$0, -904(%rbp)
	movl	$0, -908(%rbp)
	jmp	.L7
.L11:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jle	.L8
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L8:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jge	.L10
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L10:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jne	.L9
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
.L9:
	addl	$1, -908(%rbp)
.L7:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L11
	movl	-900(%rbp), %eax
	cmpl	-904(%rbp), %eax
	jge	.L12
	movl	-904(%rbp), %eax
	movl	%eax, -900(%rbp)
.L12:
	addl	$1, -912(%rbp)
.L6:
	movl	-916(%rbp), %eax
	cmpl	%eax, -912(%rbp)
	jl	.L13
	movl	-900(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rbp, %rdi
	subq	$920, %rsp
	.cfi_def_cfa_offset 960
	movq	%fs:40, %rax
	movq	%rax, 904(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r13
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r13
	cmpl	%r12d, %eax
	jg	.L5
	testl	%eax, %eax
	jle	.L8
	leaq	456(%rsp), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r13
	cmpl	%r12d, %r9d
	jg	.L9
	testl	%r9d, %r9d
	jle	.L8
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	leal	-1(%r9), %r11d
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%esi, %r11d
	movl	%esi, %edi
	movq	%rbx, %rdx
	cmovle	%r11d, %edi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L36:
	addl	(%rdx), %ecx
.L17:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%edi, %eax
	jg	.L35
.L18:
	cmpl	%esi, %eax
	jl	.L36
	jne	.L17
	addl	$1, %eax
	addl	(%rdx), %ecx
	addq	$4, %rdx
	addl	436(%rdx), %ecx
	cmpl	%edi, %eax
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L35:
	cmpl	%r9d, %eax
	jge	.L14
	movl	%r9d, %r12d
	subl	%eax, %r12d
	leal	-1(%r12), %edx
	cmpl	$2, %edx
	jbe	.L11
	movslq	%eax, %rdx
	pxor	%xmm0, %xmm0
	leaq	440(%rbx,%rdx,4), %rdi
	movl	%r12d, %edx
	shrl	$2, %edx
	leal	-1(%rdx), %r8d
	leaq	16(%rdi), %rdx
	salq	$4, %r8
	addq	%rdx, %r8
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L37:
	addq	$16, %rdx
.L12:
	movdqu	(%rdi), %xmm1
	movq	%rdx, %rdi
	paddd	%xmm1, %xmm0
	cmpq	%rdx, %r8
	jne	.L37
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	addl	%edx, %ecx
	movl	%r12d, %edx
	andl	$-4, %edx
	addl	%edx, %eax
	cmpl	%edx, %r12d
	je	.L14
.L11:
	movslq	%eax, %rdx
	addl	456(%rsp,%rdx,4), %ecx
	leal	1(%rax), %edx
	cmpl	%r9d, %edx
	jge	.L14
	movslq	%edx, %rdx
	addl	$2, %eax
	addl	456(%rsp,%rdx,4), %ecx
	cmpl	%eax, %r9d
	jle	.L14
	cltq
	addl	456(%rsp,%rax,4), %ecx
.L14:
	cmpl	%ecx, %r10d
	cmovl	%ecx, %r10d
	addl	$1, %esi
	cmpl	%r9d, %esi
	jne	.L7
.L20:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	904(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$920, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	xorl	%r10d, %r10d
	jmp	.L20
.L38:
	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"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	xorl	%r12d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	leaq	.LC0(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movq	%rbp, %rdi
	subq	$920, %rsp
	.cfi_def_cfa_offset 960
	movq	%fs:40, %rax
	movq	%rax, 904(%rsp)
	xorl	%eax, %eax
	leaq	12(%rsp), %rsi
	leaq	16(%rsp), %rbx
	movq	%rbx, %r13
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	testl	%eax, %eax
	jle	.L8
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r13
	cmpl	%r12d, %eax
	jg	.L5
	testl	%eax, %eax
	jle	.L8
	leaq	456(%rsp), %r13
	xorl	%r12d, %r12d
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %r9d
	addq	$4, %r13
	cmpl	%r12d, %r9d
	jg	.L9
	testl	%r9d, %r9d
	jle	.L8
	xorl	%r10d, %r10d
	xorl	%esi, %esi
	leal	-1(%r9), %r11d
	.p2align 4,,10
	.p2align 3
.L7:
	cmpl	%esi, %r11d
	movl	%esi, %edi
	movq	%rbx, %rdx
	cmovle	%r11d, %edi
	xorl	%ecx, %ecx
	xorl	%eax, %eax
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L36:
	addl	(%rdx), %ecx
.L17:
	addl	$1, %eax
	addq	$4, %rdx
	cmpl	%edi, %eax
	jg	.L35
.L18:
	cmpl	%esi, %eax
	jl	.L36
	jne	.L17
	addl	$1, %eax
	addl	(%rdx), %ecx
	addq	$4, %rdx
	addl	436(%rdx), %ecx
	cmpl	%edi, %eax
	jle	.L18
	.p2align 4,,10
	.p2align 3
.L35:
	cmpl	%r9d, %eax
	jge	.L14
	movl	%r9d, %r12d
	subl	%eax, %r12d
	leal	-1(%r12), %edx
	cmpl	$2, %edx
	jbe	.L11
	movslq	%eax, %rdx
	pxor	%xmm0, %xmm0
	leaq	440(%rbx,%rdx,4), %rdi
	movl	%r12d, %edx
	shrl	$2, %edx
	leal	-1(%rdx), %r8d
	leaq	16(%rdi), %rdx
	salq	$4, %r8
	addq	%rdx, %r8
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L37:
	addq	$16, %rdx
.L12:
	movdqu	(%rdi), %xmm1
	movq	%rdx, %rdi
	paddd	%xmm1, %xmm0
	cmpq	%rdx, %r8
	jne	.L37
	movdqa	%xmm0, %xmm1
	psrldq	$8, %xmm1
	paddd	%xmm1, %xmm0
	movdqa	%xmm0, %xmm1
	psrldq	$4, %xmm1
	paddd	%xmm1, %xmm0
	movd	%xmm0, %edx
	addl	%edx, %ecx
	movl	%r12d, %edx
	andl	$-4, %edx
	addl	%edx, %eax
	cmpl	%edx, %r12d
	je	.L14
.L11:
	movslq	%eax, %rdx
	addl	456(%rsp,%rdx,4), %ecx
	leal	1(%rax), %edx
	cmpl	%r9d, %edx
	jge	.L14
	movslq	%edx, %rdx
	addl	$2, %eax
	addl	456(%rsp,%rdx,4), %ecx
	cmpl	%eax, %r9d
	jle	.L14
	cltq
	addl	456(%rsp,%rax,4), %ecx
.L14:
	cmpl	%ecx, %r10d
	cmovl	%ecx, %r10d
	addl	$1, %esi
	cmpl	%r9d, %esi
	jne	.L7
.L20:
	xorl	%eax, %eax
	movl	%r10d, %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	904(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L38
	addq	$920, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 40
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 32
	popq	%rbp
	.cfi_def_cfa_offset 24
	popq	%r12
	.cfi_def_cfa_offset 16
	popq	%r13
	.cfi_def_cfa_offset 8
	ret
.L8:
	.cfi_restore_state
	xorl	%r10d, %r10d
	jmp	.L20
.L38:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:

#include<stdio.h>

int main(){
    int N;
    int a[2][110];
    int i, j, k;
    int sum, ans=0;

    scanf("%d", &N);
    for(i=0; i<2; i++){
        for(j=0; j<N; j++){
            scanf("%d", &a[i][j]);
        }
    }

    for(i=0; i<N; i++){
        sum=0;
        for(j=0; j<N; j++){
            if(j>i){
                sum+=a[1][j];
            }else if(j<i){
                sum+=a[0][j];
            }else if(j==i){
                sum+=a[0][j];
                sum+=a[1][j];
            }
        }
        if(ans<sum){
            ans=sum;
        }
    }
    printf("%d", ans);

    return 0;
}
7
3 3 4 5 4 5 3
5 3 8 4 2 3 2
 1
2
6
 5
3 2 2 4 1
0 2 2 2 1
 4
1 1 0 1
1 1 1 1
 7
3 3 4 5 4 5 3
5 3 8 4 2 5 2
 4
1 1 0 1
1 1 0 1
 7
3 3 4 5 4 5 3
5 3 8 4 0 5 2
 1
2
7
 5
3 2 0 4 1
0 2 1 2 1
 7
3 3 4 5 4 5 3
5 3 15 4 0 5 2

30 8 14 5 32 4 31 9 12 37
Given the following C code and unoptimized assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

int main(){
    int N;
    int a[2][110];
    int i, j, k;
    int sum, ans=0;

    scanf("%d", &N);
    for(i=0; i<2; i++){
        for(j=0; j<N; j++){
            scanf("%d", &a[i][j]);
        }
    }

    for(i=0; i<N; i++){
        sum=0;
        for(j=0; j<N; j++){
            if(j>i){
                sum+=a[1][j];
            }else if(j<i){
                sum+=a[0][j];
            }else if(j==i){
                sum+=a[0][j];
                sum+=a[1][j];
            }
        }
        if(ans<sum){
            ans=sum;
        }
    }
    printf("%d", ans);

    return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	subq	$928, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -900(%rbp)
	leaq	-916(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -912(%rbp)
	jmp	.L2
.L5:
	movl	$0, -908(%rbp)
	jmp	.L3
.L4:
	leaq	-896(%rbp), %rdx
	movl	-908(%rbp), %eax
	movslq	%eax, %rcx
	movl	-912(%rbp), %eax
	cltq
	imulq	$110, %rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -908(%rbp)
.L3:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L4
	addl	$1, -912(%rbp)
.L2:
	cmpl	$1, -912(%rbp)
	jle	.L5
	movl	$0, -912(%rbp)
	jmp	.L6
.L13:
	movl	$0, -904(%rbp)
	movl	$0, -908(%rbp)
	jmp	.L7
.L11:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jle	.L8
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L8:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jge	.L10
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L10:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jne	.L9
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
.L9:
	addl	$1, -908(%rbp)
.L7:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L11
	movl	-900(%rbp), %eax
	cmpl	-904(%rbp), %eax
	jge	.L12
	movl	-904(%rbp), %eax
	movl	%eax, -900(%rbp)
.L12:
	addl	$1, -912(%rbp)
.L6:
	movl	-916(%rbp), %eax
	cmpl	%eax, -912(%rbp)
	jl	.L13
	movl	-900(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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"
	.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	$928, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	movl	$0, -900(%rbp)
	leaq	-916(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	$0, -912(%rbp)
	jmp	.L2
.L5:
	movl	$0, -908(%rbp)
	jmp	.L3
.L4:
	leaq	-896(%rbp), %rdx
	movl	-908(%rbp), %eax
	movslq	%eax, %rcx
	movl	-912(%rbp), %eax
	cltq
	imulq	$110, %rax, %rax
	addq	%rcx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	addl	$1, -908(%rbp)
.L3:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L4
	addl	$1, -912(%rbp)
.L2:
	cmpl	$1, -912(%rbp)
	jle	.L5
	movl	$0, -912(%rbp)
	jmp	.L6
.L13:
	movl	$0, -904(%rbp)
	movl	$0, -908(%rbp)
	jmp	.L7
.L11:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jle	.L8
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L8:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jge	.L10
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	jmp	.L9
.L10:
	movl	-908(%rbp), %eax
	cmpl	-912(%rbp), %eax
	jne	.L9
	movl	-908(%rbp), %eax
	cltq
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
	movl	-908(%rbp), %eax
	cltq
	addq	$110, %rax
	movl	-896(%rbp,%rax,4), %eax
	addl	%eax, -904(%rbp)
.L9:
	addl	$1, -908(%rbp)
.L7:
	movl	-916(%rbp), %eax
	cmpl	%eax, -908(%rbp)
	jl	.L11
	movl	-900(%rbp), %eax
	cmpl	-904(%rbp), %eax
	jge	.L12
	movl	-904(%rbp), %eax
	movl	%eax, -900(%rbp)
.L12:
	addl	$1, -912(%rbp)
.L6:
	movl	-916(%rbp), %eax
	cmpl	%eax, -912(%rbp)
	jl	.L13
	movl	-900(%rbp), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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:
