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){
	unsigned long long i;
	unsigned long long  k;//<=50*10^16
	scanf("%lld",&k);
	unsigned long long n=50LL;//数列長は50以下
	unsigned long long a[n];//<=10^16+1000
	for(i=0;i<n;i++){a[i]=n-1;}

	unsigned long long roop=0L;
	unsigned long long amari=0L;
	
	roop=k/50LL;
	amari=k%50LL;
	for(i=0;i<n;i++){a[i]=n-1+roop;}

	for(i=0;i<amari;i++){a[i]+=(n-amari+1LL);}
	for(i=amari;i<n;i++){a[i]-=amari;}



	printf("%lld\n", n);
	for(i=0;i<n;i++){printf("%lld ", a[i]);}
	return 0;
} ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$72, %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	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -96(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movq	%rax, %r14
	movl	$0, %r15d
	movq	%rax, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -80(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L5
.L6:
	movq	-96(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L5:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L6
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	-112(%rbp), %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -72(%rbp)
	movq	-112(%rbp), %rcx
	movq	%rcx, %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -64(%rbp)
	movq	-64(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L7
.L8:
	movq	-96(%rbp), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L7:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L8
	movq	$0, -104(%rbp)
	jmp	.L9
.L10:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	-96(%rbp), %rax
	subq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L9:
	movq	-104(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L10
	movq	-64(%rbp), %rax
	movq	%rax, -104(%rbp)
	jmp	.L11
.L12:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	subq	-64(%rbp), %rax
	movq	%rax, %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L11:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L12
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -104(%rbp)
	jmp	.L13
.L14:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -104(%rbp)
.L13:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L14
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"%lld"
.LC2:
	.string	"%lld\n"
.LC3:
	.string	"%lld "
	.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	%r13
	pushq	%r12
	leaq	-48(%rbp), %rsi
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rsp, %rax
	cmpq	%rax, %rsp
	je	.L3
.L30:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rax, %rsp
	jne	.L30
.L3:
	subq	$400, %rsp
	orq	$0, 392(%rsp)
	movdqa	.LC1(%rip), %xmm0
	movq	%rsp, %rcx
	movq	%rcx, %rbx
	leaq	400(%rcx), %r12
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r12, %rax
	jne	.L5
	movabsq	$-6640827866535438581, %rsi
	movq	-48(%rbp), %rdi
	movq	%rdi, %rdx
	shrq	%rdx
	movq	%rdx, %rax
	mulq	%rsi
	shrq	$4, %rdx
	movq	%rdx, %rax
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rsi
	addq	$49, %rax
	addq	%rsi, %rsi
	movq	%rax, %xmm0
	movq	%rcx, %rax
	subq	%rsi, %rdi
	punpcklqdq	%xmm0, %xmm0
	movq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r12, %rax
	jne	.L6
	testq	%rdx, %rdx
	je	.L31
	movl	$51, %esi
	subq	%rdx, %rsi
	cmpq	$1, %rdx
	je	.L19
	movq	%rdx, %rdi
	movq	%rsi, %xmm1
	movq	%rcx, %rax
	shrq	%rdi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rdi
	addq	%rcx, %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rdi
	jne	.L10
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L14
.L9:
	addq	%rsi, (%rcx,%rax,8)
.L14:
	movl	$50, %edi
	subq	%rdx, %rdi
	cmpq	$49, %rdx
	je	.L32
.L13:
	movq	%rdi, %rsi
	movq	%rdx, %xmm1
	leaq	(%rcx,%rdx,8), %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%rax, %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rsi
	jne	.L8
	movq	%rdi, %rsi
	andq	$-2, %rsi
	leaq	(%rdx,%rsi), %rax
	cmpq	%rsi, %rdi
	je	.L15
.L12:
	subq	%rdx, (%rcx,%rax,8)
.L15:
	movl	$50, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	leaq	.LC3(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L17:
	movq	(%rbx), %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L17
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L33
	leaq	-24(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L31:
	.cfi_restore_state
	movl	$50, %edi
	jmp	.L13
.L32:
	movl	$49, %eax
	jmp	.L12
.L19:
	xorl	%eax, %eax
	jmp	.L9
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	49
	.quad	49
	.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	"%lld"
.LC2:
	.string	"%lld\n"
.LC3:
	.string	"%lld "
	.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	%r13
	pushq	%r12
	leaq	-48(%rbp), %rsi
	pushq	%rbx
	subq	$24, %rsp
	.cfi_offset 13, -24
	.cfi_offset 12, -32
	.cfi_offset 3, -40
	movq	%fs:40, %rax
	movq	%rax, -40(%rbp)
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movq	%rsp, %rax
	cmpq	%rax, %rsp
	je	.L3
.L30:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rax, %rsp
	jne	.L30
.L3:
	subq	$400, %rsp
	orq	$0, 392(%rsp)
	movdqa	.LC1(%rip), %xmm0
	movq	%rsp, %rcx
	movq	%rcx, %rbx
	leaq	400(%rcx), %r12
	movq	%rcx, %rax
	.p2align 4,,10
	.p2align 3
.L5:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r12, %rax
	jne	.L5
	movabsq	$-6640827866535438581, %rsi
	movq	-48(%rbp), %rdi
	movq	%rdi, %rdx
	shrq	%rdx
	movq	%rdx, %rax
	mulq	%rsi
	shrq	$4, %rdx
	movq	%rdx, %rax
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rdx,%rdx,4), %rsi
	addq	$49, %rax
	addq	%rsi, %rsi
	movq	%rax, %xmm0
	movq	%rcx, %rax
	subq	%rsi, %rdi
	punpcklqdq	%xmm0, %xmm0
	movq	%rdi, %rdx
	.p2align 4,,10
	.p2align 3
.L6:
	movups	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%r12, %rax
	jne	.L6
	testq	%rdx, %rdx
	je	.L31
	movl	$51, %esi
	subq	%rdx, %rsi
	cmpq	$1, %rdx
	je	.L19
	movq	%rdx, %rdi
	movq	%rsi, %xmm1
	movq	%rcx, %rax
	shrq	%rdi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rdi
	addq	%rcx, %rdi
	.p2align 4,,10
	.p2align 3
.L10:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rdi
	jne	.L10
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L14
.L9:
	addq	%rsi, (%rcx,%rax,8)
.L14:
	movl	$50, %edi
	subq	%rdx, %rdi
	cmpq	$49, %rdx
	je	.L32
.L13:
	movq	%rdi, %rsi
	movq	%rdx, %xmm1
	leaq	(%rcx,%rdx,8), %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%rax, %rsi
	.p2align 4,,10
	.p2align 3
.L8:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rsi
	jne	.L8
	movq	%rdi, %rsi
	andq	$-2, %rsi
	leaq	(%rdx,%rsi), %rax
	cmpq	%rsi, %rdi
	je	.L15
.L12:
	subq	%rdx, (%rcx,%rax,8)
.L15:
	movl	$50, %edx
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
	leaq	.LC3(%rip), %r13
	.p2align 4,,10
	.p2align 3
.L17:
	movq	(%rbx), %rdx
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L17
	movq	-40(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L33
	leaq	-24(%rbp), %rsp
	xorl	%eax, %eax
	popq	%rbx
	popq	%r12
	popq	%r13
	popq	%rbp
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	ret
.L31:
	.cfi_restore_state
	movl	$50, %edi
	jmp	.L13
.L32:
	movl	$49, %eax
	jmp	.L12
.L19:
	xorl	%eax, %eax
	jmp	.L9
.L33:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.section	.rodata.cst16,"aM",@progbits,16
	.align 16
.LC1:
	.quad	49
	.quad	49
	.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){
	unsigned long long i;
	unsigned long long  k;//<=50*10^16
	scanf("%lld",&k);
	unsigned long long n=50LL;//数列長は50以下
	unsigned long long a[n];//<=10^16+1000
	for(i=0;i<n;i++){a[i]=n-1;}

	unsigned long long roop=0L;
	unsigned long long amari=0L;
	
	roop=k/50LL;
	amari=k%50LL;
	for(i=0;i<n;i++){a[i]=n-1+roop;}

	for(i=0;i<amari;i++){a[i]+=(n-amari+1LL);}
	for(i=amari;i<n;i++){a[i]-=amari;}



	printf("%lld\n", n);
	for(i=0;i<n;i++){printf("%lld ", a[i]);}
	return 0;
} 
0

50
49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 49 
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){
	unsigned long long i;
	unsigned long long  k;//<=50*10^16
	scanf("%lld",&k);
	unsigned long long n=50LL;//数列長は50以下
	unsigned long long a[n];//<=10^16+1000
	for(i=0;i<n;i++){a[i]=n-1;}

	unsigned long long roop=0L;
	unsigned long long amari=0L;
	
	roop=k/50LL;
	amari=k%50LL;
	for(i=0;i<n;i++){a[i]=n-1+roop;}

	for(i=0;i<amari;i++){a[i]+=(n-amari+1LL);}
	for(i=amari;i<n;i++){a[i]-=amari;}



	printf("%lld\n", n);
	for(i=0;i<n;i++){printf("%lld ", a[i]);}
	return 0;
} ```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$72, %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	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -96(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movq	%rax, %r14
	movl	$0, %r15d
	movq	%rax, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -80(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L5
.L6:
	movq	-96(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L5:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L6
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	-112(%rbp), %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -72(%rbp)
	movq	-112(%rbp), %rcx
	movq	%rcx, %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -64(%rbp)
	movq	-64(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L7
.L8:
	movq	-96(%rbp), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L7:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L8
	movq	$0, -104(%rbp)
	jmp	.L9
.L10:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	-96(%rbp), %rax
	subq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L9:
	movq	-104(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L10
	movq	-64(%rbp), %rax
	movq	%rax, -104(%rbp)
	jmp	.L11
.L12:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	subq	-64(%rbp), %rax
	movq	%rax, %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L11:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L12
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -104(%rbp)
	jmp	.L13
.L14:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -104(%rbp)
.L13:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L14
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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	$72, %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	-112(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	$50, -96(%rbp)
	movq	-96(%rbp), %rax
	movq	%rax, %rdx
	subq	$1, %rdx
	movq	%rdx, -88(%rbp)
	movq	%rax, %r14
	movl	$0, %r15d
	movq	%rax, %r12
	movl	$0, %r13d
	leaq	0(,%rax,8), %rdx
	movl	$16, %eax
	subq	$1, %rax
	addq	%rdx, %rax
	movl	$16, %esi
	movl	$0, %edx
	divq	%rsi
	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	$7, %rax
	shrq	$3, %rax
	salq	$3, %rax
	movq	%rax, -80(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L5
.L6:
	movq	-96(%rbp), %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L5:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L6
	movq	$0, -72(%rbp)
	movq	$0, -64(%rbp)
	movq	-112(%rbp), %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -72(%rbp)
	movq	-112(%rbp), %rcx
	movq	%rcx, %rax
	shrq	%rax
	movabsq	$-6640827866535438581, %rdx
	mulq	%rdx
	movq	%rdx, %rax
	shrq	$4, %rax
	movq	%rax, -64(%rbp)
	movq	-64(%rbp), %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, %rdx
	movq	%rdx, -64(%rbp)
	movq	$0, -104(%rbp)
	jmp	.L7
.L8:
	movq	-96(%rbp), %rdx
	movq	-72(%rbp), %rax
	addq	%rdx, %rax
	leaq	-1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L7:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L8
	movq	$0, -104(%rbp)
	jmp	.L9
.L10:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rdx
	movq	-96(%rbp), %rax
	subq	-64(%rbp), %rax
	addq	%rdx, %rax
	leaq	1(%rax), %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L9:
	movq	-104(%rbp), %rax
	cmpq	-64(%rbp), %rax
	jb	.L10
	movq	-64(%rbp), %rax
	movq	%rax, -104(%rbp)
	jmp	.L11
.L12:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	subq	-64(%rbp), %rax
	movq	%rax, %rcx
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	%rcx, (%rax,%rdx,8)
	addq	$1, -104(%rbp)
.L11:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L12
	movq	-96(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movq	$0, -104(%rbp)
	jmp	.L13
.L14:
	movq	-80(%rbp), %rax
	movq	-104(%rbp), %rdx
	movq	(%rax,%rdx,8), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addq	$1, -104(%rbp)
.L13:
	movq	-104(%rbp), %rax
	cmpq	-96(%rbp), %rax
	jb	.L14
	movl	$0, %eax
	movq	%rbx, %rsp
	movq	-56(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L16
	call	__stack_chk_fail@PLT
.L16:
	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:
