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

```c
#include<stdio.h>
int main(){
    int n,m,x[201],a[201];
    scanf("%d",&n);
    for(int i=1;i<=n;i++)scanf("%d",&x[i]);
    scanf("%d",&m);
    for(int i=1;i<=m;i++)scanf("%d",&a[i]);
    for(int i=1;i<=m;i++){
        for(int j=1;j<=n;j++){
            if(j==a[i]){
                if(x[j+1]!=x[j]+1&&x[j]!=2019)x[j]++;
            }
        }
    }
    for(int i=1;i<=n;i++)printf("%d\n",x[i]);
    return 0;
}
```

Assembly Code:

```assembly
	.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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$1, %ebx
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1696
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jge	.L5
.L6:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	movl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	836(%rsp), %rbx
	movq	%rbx, %r12
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jge	.L7
	movl	8(%rsp), %edx
	testl	%eax, %eax
	jle	.L8
	testl	%edx, %edx
	jle	.L9
	subl	$1, %eax
	leaq	20(%rsp), %r9
	leal	1(%rdx), %esi
	leaq	840(%rsp,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx), %ecx
	movq	%r9, %rdx
	movl	$1, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	addq	$4, %rdx
	cmpq	%rax, %rsi
	je	.L34
.L12:
	cmpl	%eax, %ecx
	jne	.L11
	movl	(%rdx), %edi
	leal	1(%rdi), %r8d
	cmpl	%r8d, 4(%rdx)
	je	.L11
	cmpl	$2019, %edi
	je	.L11
	addq	$1, %rax
	movl	%r8d, (%rdx)
	addq	$4, %rdx
	cmpq	%rax, %rsi
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	addq	$4, %rbx
	cmpq	%r10, %rbx
	jne	.L10
.L13:
	movl	$1, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L14:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L14
.L9:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$1656, %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
.L33:
	.cfi_restore_state
	movl	8(%rsp), %edx
.L8:
	testl	%edx, %edx
	jg	.L13
	jmp	.L9
.L35:
	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:
```

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.
Optimized Assembly Code:

user
```assembly
	.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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$1, %ebx
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1696
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jge	.L5
.L6:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	movl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	836(%rsp), %rbx
	movq	%rbx, %r12
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jge	.L7
	movl	8(%rsp), %edx
	testl	%eax, %eax
	jle	.L8
	testl	%edx, %edx
	jle	.L9
	subl	$1, %eax
	leaq	20(%rsp), %r9
	leal	1(%rdx), %esi
	leaq	840(%rsp,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx), %ecx
	movq	%r9, %rdx
	movl	$1, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	addq	$4, %rdx
	cmpq	%rax, %rsi
	je	.L34
.L12:
	cmpl	%eax, %ecx
	jne	.L11
	movl	(%rdx), %edi
	leal	1(%rdi), %r8d
	cmpl	%r8d, 4(%rdx)
	je	.L11
	cmpl	$2019, %edi
	je	.L11
	addq	$1, %rax
	movl	%r8d, (%rdx)
	addq	$4, %rdx
	cmpq	%rax, %rsi
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	addq	$4, %rbx
	cmpq	%r10, %rbx
	jne	.L10
.L13:
	movl	$1, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L14:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L14
.L9:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$1656, %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
.L33:
	.cfi_restore_state
	movl	8(%rsp), %edx
.L8:
	testl	%edx, %edx
	jg	.L13
	jmp	.L9
.L35:
	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
```assembly
	.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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$1, %ebx
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1696
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jge	.L5
.L6:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	movl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	836(%rsp), %rbx
	movq	%rbx, %r12
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jge	.L7
	movl	8(%rsp), %edx
	testl	%eax, %eax
	jle	.L8
	testl	%edx, %edx
	jle	.L9
	subl	$1, %eax
	leaq	20(%rsp), %r9
	leal	1(%rdx), %esi
	leaq	840(%rsp,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx), %ecx
	movq	%r9, %rdx
	movl	$1, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	addq	$4, %rdx
	cmpq	%rax, %rsi
	je	.L34
.L12:
	cmpl	%eax, %ecx
	jne	.L11
	movl	(%rdx), %edi
	leal	1(%rdi), %r8d
	cmpl	%r8d, 4(%rdx)
	je	.L11
	cmpl	$2019, %edi
	je	.L11
	addq	$1, %rax
	movl	%r8d, (%rdx)
	addq	$4, %rdx
	cmpq	%rax, %rsi
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	addq	$4, %rbx
	cmpq	%r10, %rbx
	jne	.L10
.L13:
	movl	$1, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L14:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L14
.L9:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$1656, %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
.L33:
	.cfi_restore_state
	movl	8(%rsp), %edx
.L8:
	testl	%edx, %edx
	jg	.L13
	jmp	.L9
.L35:
	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:
```
```c
#include<stdio.h>
int main(){
    int n,m,x[201],a[201];
    scanf("%d",&n);
    for(int i=1;i<=n;i++)scanf("%d",&x[i]);
    scanf("%d",&m);
    for(int i=1;i<=m;i++)scanf("%d",&a[i]);
    for(int i=1;i<=m;i++){
        for(int j=1;j<=n;j++){
            if(j==a[i]){
                if(x[j+1]!=x[j]+1&&x[j]!=2019)x[j]++;
            }
        }
    }
    for(int i=1;i<=n;i++)printf("%d\n",x[i]);
    return 0;
}
```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main(){
    int n,m,x[201],a[201];
    scanf("%d",&n);
    for(int i=1;i<=n;i++)scanf("%d",&x[i]);
    scanf("%d",&m);
    for(int i=1;i<=m;i++)scanf("%d",&a[i]);
    for(int i=1;i<=m;i++){
        for(int j=1;j<=n;j++){
            if(j==a[i]){
                if(x[j+1]!=x[j]+1&&x[j]!=2019)x[j]++;
            }
        }
    }
    for(int i=1;i<=n;i++)printf("%d\n",x[i]);
    return 0;
}
```

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.
Optimized Assembly Code:

3
2 3 6
2
1 3

2
3
7

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

```c
#include<stdio.h>
int main(){
    int n,m,x[201],a[201];
    scanf("%d",&n);
    for(int i=1;i<=n;i++)scanf("%d",&x[i]);
    scanf("%d",&m);
    for(int i=1;i<=m;i++)scanf("%d",&a[i]);
    for(int i=1;i<=m;i++){
        for(int j=1;j<=n;j++){
            if(j==a[i]){
                if(x[j+1]!=x[j]+1&&x[j]!=2019)x[j]++;
            }
        }
    }
    for(int i=1;i<=n;i++)printf("%d\n",x[i]);
    return 0;
}
```

Assembly Code:

```assembly
	.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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$1, %ebx
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1696
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jge	.L5
.L6:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	movl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	836(%rsp), %rbx
	movq	%rbx, %r12
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jge	.L7
	movl	8(%rsp), %edx
	testl	%eax, %eax
	jle	.L8
	testl	%edx, %edx
	jle	.L9
	subl	$1, %eax
	leaq	20(%rsp), %r9
	leal	1(%rdx), %esi
	leaq	840(%rsp,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx), %ecx
	movq	%r9, %rdx
	movl	$1, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	addq	$4, %rdx
	cmpq	%rax, %rsi
	je	.L34
.L12:
	cmpl	%eax, %ecx
	jne	.L11
	movl	(%rdx), %edi
	leal	1(%rdi), %r8d
	cmpl	%r8d, 4(%rdx)
	je	.L11
	cmpl	$2019, %edi
	je	.L11
	addq	$1, %rax
	movl	%r8d, (%rdx)
	addq	$4, %rdx
	cmpq	%rax, %rsi
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	addq	$4, %rbx
	cmpq	%r10, %rbx
	jne	.L10
.L13:
	movl	$1, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L14:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L14
.L9:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$1656, %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
.L33:
	.cfi_restore_state
	movl	8(%rsp), %edx
.L8:
	testl	%edx, %edx
	jg	.L13
	jmp	.L9
.L35:
	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:
```

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.
Optimized Assembly Code:

train
```assembly
	.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	%r13
	.cfi_def_cfa_offset 16
	.cfi_offset 13, -16
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	movq	%r13, %rdi
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	movl	$1, %ebx
	subq	$1656, %rsp
	.cfi_def_cfa_offset 1696
	movq	%fs:40, %rax
	movq	%rax, 1640(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	20(%rsp), %rbp
	call	__isoc99_scanf@PLT
	movl	8(%rsp), %edx
	testl	%edx, %edx
	jle	.L6
	.p2align 4,,10
	.p2align 3
.L5:
	movq	%rbp, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebx
	call	__isoc99_scanf@PLT
	addq	$4, %rbp
	cmpl	%ebx, 8(%rsp)
	jge	.L5
.L6:
	leaq	12(%rsp), %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	movl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	leaq	836(%rsp), %rbx
	movq	%rbx, %r12
	testl	%eax, %eax
	jle	.L33
	.p2align 4,,10
	.p2align 3
.L7:
	movq	%r12, %rsi
	movq	%r13, %rdi
	xorl	%eax, %eax
	addl	$1, %ebp
	call	__isoc99_scanf@PLT
	movl	12(%rsp), %eax
	addq	$4, %r12
	cmpl	%ebp, %eax
	jge	.L7
	movl	8(%rsp), %edx
	testl	%eax, %eax
	jle	.L8
	testl	%edx, %edx
	jle	.L9
	subl	$1, %eax
	leaq	20(%rsp), %r9
	leal	1(%rdx), %esi
	leaq	840(%rsp,%rax,4), %r10
	.p2align 4,,10
	.p2align 3
.L10:
	movl	(%rbx), %ecx
	movq	%r9, %rdx
	movl	$1, %eax
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L11:
	addq	$1, %rax
	addq	$4, %rdx
	cmpq	%rax, %rsi
	je	.L34
.L12:
	cmpl	%eax, %ecx
	jne	.L11
	movl	(%rdx), %edi
	leal	1(%rdi), %r8d
	cmpl	%r8d, 4(%rdx)
	je	.L11
	cmpl	$2019, %edi
	je	.L11
	addq	$1, %rax
	movl	%r8d, (%rdx)
	addq	$4, %rdx
	cmpq	%rax, %rsi
	jne	.L12
	.p2align 4,,10
	.p2align 3
.L34:
	addq	$4, %rbx
	cmpq	%r10, %rbx
	jne	.L10
.L13:
	movl	$1, %ebx
	leaq	16(%rsp), %r12
	leaq	.LC1(%rip), %rbp
	.p2align 4,,10
	.p2align 3
.L14:
	movl	(%r12,%rbx,4), %edx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$1, %rbx
	call	__printf_chk@PLT
	cmpl	%ebx, 8(%rsp)
	jge	.L14
.L9:
	movq	1640(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L35
	addq	$1656, %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
.L33:
	.cfi_restore_state
	movl	8(%rsp), %edx
.L8:
	testl	%edx, %edx
	jg	.L13
	jmp	.L9
.L35:
	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:
```