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

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"50"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -16(%rbp)
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	cmpq	$0, -16(%rbp)
	jne	.L2
	movq	$0, -24(%rbp)
	jmp	.L3
.L7:
	cmpq	$0, -24(%rbp)
	je	.L4
	movl	$32, %edi
	call	putchar@PLT
.L4:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jge	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L6
.L5:
	movl	$48, %edi
	call	putchar@PLT
.L6:
	addq	$1, -24(%rbp)
.L3:
	cmpq	$49, -24(%rbp)
	jle	.L7
	jmp	.L8
.L2:
	movq	$0, -24(%rbp)
	jmp	.L9
.L13:
	cmpq	$0, -24(%rbp)
	je	.L10
	movl	$32, %edi
	call	putchar@PLT
.L10:
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %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
	cmpq	%rdx, -24(%rbp)
	jge	.L11
	movq	-16(%rbp), %rax
	addq	$50, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movq	-16(%rbp), %rax
	leaq	49(%rax), %rsi
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rdi
	sarq	$63, %rdi
	subq	%rdi, %rax
	movq	%rax, %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	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addq	$1, -24(%rbp)
.L9:
	cmpq	$49, -24(%rbp)
	jle	.L13
.L8:
	movl	$10, %edi
	call	putchar@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	"%lld"
.LC1:
	.string	"50"
	.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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	movabsq	$-6640827866535438581, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	movq	%r13, %rdi
	movq	%rcx, %rax
	imulq	%rbp
	leaq	(%rdx,%rcx), %rbx
	sarq	$63, %rcx
	sarq	$5, %rbx
	subq	%rcx, %rbx
	call	puts@PLT
	testq	%rbx, %rbx
	je	.L2
	xorl	%esi, %esi
	leaq	49(%rbx), %r13
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	50(%rbx), %rdx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movl	$32, %edi
	call	putchar@PLT
	movq	%r14, %rsi
.L3:
	movq	(%rsp), %rcx
	leaq	1(%rsi), %r14
	movq	%rcx, %rax
	imulq	%rbp
	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
	cmpq	%rsi, %rcx
	jg	.L18
	movq	%r13, %r8
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subq	%rcx, %r8
	movq	%r8, %rdx
	call	__printf_chk@PLT
	cmpq	$50, %r14
	jne	.L9
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$16, %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
.L20:
	.cfi_restore_state
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L5:
	addq	$1, %rbx
	cmpq	$50, %rbx
	je	.L7
	movl	$32, %edi
	call	putchar@PLT
.L2:
	cmpq	%rbx, (%rsp)
	jg	.L20
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L5
.L19:
	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	"%lld"
.LC1:
	.string	"50"
	.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
	pushq	%r13
	.cfi_def_cfa_offset 24
	.cfi_offset 13, -24
	leaq	.LC1(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 32
	.cfi_offset 12, -32
	leaq	.LC0(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 40
	.cfi_offset 6, -40
	movq	%r12, %rdi
	movabsq	$-6640827866535438581, %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 48
	.cfi_offset 3, -48
	subq	$16, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 8(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	movq	%r13, %rdi
	movq	%rcx, %rax
	imulq	%rbp
	leaq	(%rdx,%rcx), %rbx
	sarq	$63, %rcx
	sarq	$5, %rbx
	subq	%rcx, %rbx
	call	puts@PLT
	testq	%rbx, %rbx
	je	.L2
	xorl	%esi, %esi
	leaq	49(%rbx), %r13
	jmp	.L3
	.p2align 4,,10
	.p2align 3
.L18:
	leaq	50(%rbx), %rdx
	movq	%r12, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L9:
	movl	$32, %edi
	call	putchar@PLT
	movq	%r14, %rsi
.L3:
	movq	(%rsp), %rcx
	leaq	1(%rsi), %r14
	movq	%rcx, %rax
	imulq	%rbp
	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
	cmpq	%rsi, %rcx
	jg	.L18
	movq	%r13, %r8
	xorl	%eax, %eax
	movq	%r12, %rsi
	movl	$1, %edi
	subq	%rcx, %r8
	movq	%r8, %rdx
	call	__printf_chk@PLT
	cmpq	$50, %r14
	jne	.L9
.L7:
	movl	$10, %edi
	call	putchar@PLT
	movq	8(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L19
	addq	$16, %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
.L20:
	.cfi_restore_state
	movq	%r13, %rsi
	movl	$1, %edi
	xorl	%eax, %eax
	call	__printf_chk@PLT
.L5:
	addq	$1, %rbx
	cmpq	$50, %rbx
	je	.L7
	movl	$32, %edi
	call	putchar@PLT
.L2:
	cmpq	%rbx, (%rsp)
	jg	.L20
	movl	$48, %edi
	call	putchar@PLT
	jmp	.L5
.L19:
	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(){
  long long n,a,i;
  scanf("%lld",&n);
  a=n/50;
  printf("50\n");
  if(a==0){
    for(i=0;i<50;i++){
      if(i)printf(" ");
      if(i<n)printf("50");
      else   printf("0");
    }
  }
  else{
    for(i=0;i<50;i++){
      if(i)printf(" ");
      if(i<n%50)printf("%lld",a+50);
      else      printf("%lld",a+49-n%50);
    }
  }
  printf("\n");
  return 0;
}

-1
 4
 2307894359683
 8
 -2
 -4
 -3
 3500144313336
 15
 7

50
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
50 50 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887243 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209 46157887209
 50
50 50 50 50 50 50 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886316 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279 70002886279
 50
50 50 50 50 50 50 50 50 50 50 50 50 50 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
 50
50 50 50 50 50 50 50 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

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

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata
.LC0:
	.string	"%lld"
.LC1:
	.string	"50"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -16(%rbp)
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	cmpq	$0, -16(%rbp)
	jne	.L2
	movq	$0, -24(%rbp)
	jmp	.L3
.L7:
	cmpq	$0, -24(%rbp)
	je	.L4
	movl	$32, %edi
	call	putchar@PLT
.L4:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jge	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L6
.L5:
	movl	$48, %edi
	call	putchar@PLT
.L6:
	addq	$1, -24(%rbp)
.L3:
	cmpq	$49, -24(%rbp)
	jle	.L7
	jmp	.L8
.L2:
	movq	$0, -24(%rbp)
	jmp	.L9
.L13:
	cmpq	$0, -24(%rbp)
	je	.L10
	movl	$32, %edi
	call	putchar@PLT
.L10:
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %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
	cmpq	%rdx, -24(%rbp)
	jge	.L11
	movq	-16(%rbp), %rax
	addq	$50, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movq	-16(%rbp), %rax
	leaq	49(%rax), %rsi
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rdi
	sarq	$63, %rdi
	subq	%rdi, %rax
	movq	%rax, %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	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addq	$1, -24(%rbp)
.L9:
	cmpq	$49, -24(%rbp)
	jle	.L13
.L8:
	movl	$10, %edi
	call	putchar@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	"%lld"
.LC1:
	.string	"50"
	.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	$32, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-32(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	sarq	$63, %rcx
	movq	%rcx, %rdx
	subq	%rdx, %rax
	movq	%rax, -16(%rbp)
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	cmpq	$0, -16(%rbp)
	jne	.L2
	movq	$0, -24(%rbp)
	jmp	.L3
.L7:
	cmpq	$0, -24(%rbp)
	je	.L4
	movl	$32, %edi
	call	putchar@PLT
.L4:
	movq	-32(%rbp), %rax
	cmpq	%rax, -24(%rbp)
	jge	.L5
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L6
.L5:
	movl	$48, %edi
	call	putchar@PLT
.L6:
	addq	$1, -24(%rbp)
.L3:
	cmpq	$49, -24(%rbp)
	jle	.L7
	jmp	.L8
.L2:
	movq	$0, -24(%rbp)
	jmp	.L9
.L13:
	cmpq	$0, -24(%rbp)
	je	.L10
	movl	$32, %edi
	call	putchar@PLT
.L10:
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rsi
	sarq	$63, %rsi
	subq	%rsi, %rax
	movq	%rax, %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
	cmpq	%rdx, -24(%rbp)
	jge	.L11
	movq	-16(%rbp), %rax
	addq	$50, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	jmp	.L12
.L11:
	movq	-16(%rbp), %rax
	leaq	49(%rax), %rsi
	movq	-32(%rbp), %rcx
	movabsq	$-6640827866535438581, %rdx
	movq	%rcx, %rax
	imulq	%rdx
	leaq	(%rdx,%rcx), %rax
	sarq	$5, %rax
	movq	%rcx, %rdi
	sarq	$63, %rdi
	subq	%rdi, %rax
	movq	%rax, %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	%rsi, %rax
	subq	%rdx, %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L12:
	addq	$1, -24(%rbp)
.L9:
	cmpq	$49, -24(%rbp)
	jle	.L13
.L8:
	movl	$10, %edi
	call	putchar@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:
