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()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	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	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	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	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	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()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	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()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	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:

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 assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main()
{
	long long int k;
	scanf("%lld", &k);
	long long  int i, n = 50;
	long long int a[50];
	for (i = 0; i < n; i++)
		a[i] = n - 1 + k / n;
	k %= n;
	for (i = 0; i < k; i++)
		a[i] += n - k + 1;
	for (i = k; i < n; i++)
		a[i] -= k;
	printf("%lld\n", n);
	for (i = 0; i < n - 1; i++)
		printf("%lld ", a[i]);
	printf("%lld\n", a[n - 1]);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	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	"%lld"
.LC1:
	.string	"%lld\n"
.LC2:
	.string	"%lld "
	.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), %rdi
	pushq	%r12
	.cfi_def_cfa_offset 24
	.cfi_offset 12, -24
	pushq	%rbp
	.cfi_def_cfa_offset 32
	.cfi_offset 6, -32
	pushq	%rbx
	.cfi_def_cfa_offset 40
	.cfi_offset 3, -40
	subq	$440, %rsp
	.cfi_def_cfa_offset 480
	movq	%fs:40, %rax
	movq	%rax, 424(%rsp)
	xorl	%eax, %eax
	leaq	8(%rsp), %rsi
	leaq	16(%rsp), %r12
	movq	%r12, %rbx
	call	__isoc99_scanf@PLT
	movq	8(%rsp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	49(%rdx), %rax
	leaq	416(%rsp), %rdx
	movq	%rax, %xmm0
	movq	%r12, %rax
	punpcklqdq	%xmm0, %xmm0
	.p2align 4,,10
	.p2align 3
.L2:
	movaps	%xmm0, (%rax)
	addq	$16, %rax
	cmpq	%rdx, %rax
	jne	.L2
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$5, %rdx
	subq	%rax, %rdx
	leaq	(%rdx,%rdx,4), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	subq	%rax, %rcx
	movq	%rcx, 8(%rsp)
	movq	%rcx, %rdx
	testq	%rcx, %rcx
	jle	.L28
	movl	$51, %ecx
	subq	%rdx, %rcx
	cmpq	$1, %rdx
	je	.L16
	movq	%rdx, %rsi
	movq	%rcx, %xmm1
	movq	%r12, %rax
	shrq	%rsi
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rsi
	addq	%r12, %rsi
	.p2align 4,,10
	.p2align 3
.L7:
	movdqa	(%rax), %xmm0
	addq	$16, %rax
	paddq	%xmm1, %xmm0
	movaps	%xmm0, -16(%rax)
	cmpq	%rsi, %rax
	jne	.L7
	movq	%rdx, %rax
	andq	$-2, %rax
	testb	$1, %dl
	je	.L11
.L6:
	addq	%rcx, 16(%rsp,%rax,8)
.L11:
	movl	$50, %esi
	subq	%rdx, %rsi
	cmpq	$49, %rdx
	je	.L29
.L10:
	movq	%rsi, %rcx
	movq	%rdx, %xmm1
	leaq	(%r12,%rdx,8), %rax
	shrq	%rcx
	punpcklqdq	%xmm1, %xmm1
	salq	$4, %rcx
	addq	%rax, %rcx
	.p2align 4,,10
	.p2align 3
.L5:
	movdqu	(%rax), %xmm0
	addq	$16, %rax
	psubq	%xmm1, %xmm0
	movups	%xmm0, -16(%rax)
	cmpq	%rax, %rcx
	jne	.L5
	movq	%rsi, %rcx
	andq	$-2, %rcx
	leaq	(%rcx,%rdx), %rax
	cmpq	%rsi, %rcx
	je	.L12
.L9:
	subq	%rdx, 16(%rsp,%rax,8)
.L12:
	leaq	.LC1(%rip), %r13
	movl	$50, %edx
	movl	$1, %edi
	xorl	%eax, %eax
	movq	%r13, %rsi
	addq	$392, %r12
	leaq	.LC2(%rip), %rbp
	call	__printf_chk@PLT
	.p2align 4,,10
	.p2align 3
.L14:
	movq	(%rbx), %rdx
	movq	%rbp, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	addq	$8, %rbx
	call	__printf_chk@PLT
	cmpq	%r12, %rbx
	jne	.L14
	movq	408(%rsp), %rdx
	xorl	%eax, %eax
	movq	%r13, %rsi
	movl	$1, %edi
	call	__printf_chk@PLT
	movq	424(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L30
	addq	$440, %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
.L28:
	.cfi_restore_state
	movl	$50, %esi
	subq	%rcx, %rsi
	jmp	.L10
.L29:
	movl	$49, %eax
	jmp	.L9
.L16:
	xorl	%eax, %eax
	jmp	.L6
.L30:
	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:
```