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>
#include <string.h>

int main() {
  char a[201], b[201];
  int n, m, i, j, l;

  while(1) {
    scanf("%s", a);
    if (strcmp(a, "-") == 0)  break;
    l = strlen(a);
    scanf("%d", &m);
    for (i = 0; i < m; i++) {
      scanf("%d", &n);
      for (j = 0; j < l - n; j++) {
        b[j] = a[j + n];
      }
      for (j = 0; j < n; j++) {
        b[l - n + j] = a[j];
      }
      b[l] = '\0';
      strcpy(a, b);
    }
    printf("%s\n", a);
  }

  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, 0(%rbp)
	je	.L15
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	28(%rsp), %rsi
	movq	%r15, %rdi
	movslq	%eax, %r13
	xorl	%eax, %eax
	movl	%r13d, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	xorl	%ebx, %ebx
	leaq	24(%rsp), %r14
	leaq	240(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %r8d
	movl	12(%rsp), %ecx
	subl	%r8d, %ecx
	testl	%ecx, %ecx
	jle	.L6
	movslq	%r8d, %rsi
	movslq	%ecx, %rdx
	movq	%r12, %rdi
	movl	%ecx, 8(%rsp)
	addq	%rbp, %rsi
	movl	%r8d, 4(%rsp)
	call	memcpy@PLT
	movl	8(%rsp), %ecx
	movl	4(%rsp), %r8d
.L6:
	testl	%r8d, %r8d
	jle	.L7
	movslq	%ecx, %rdi
	movslq	%r8d, %rdx
	movq	%rbp, %rsi
	addl	$1, %ebx
	addq	%r12, %rdi
	call	memcpy@PLT
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	28(%rsp), %ebx
	jl	.L9
.L5:
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	addl	$1, %ebx
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	%ebx, 28(%rsp)
	jg	.L9
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
.L15:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, 0(%rbp)
	je	.L15
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	28(%rsp), %rsi
	movq	%r15, %rdi
	movslq	%eax, %r13
	xorl	%eax, %eax
	movl	%r13d, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	xorl	%ebx, %ebx
	leaq	24(%rsp), %r14
	leaq	240(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %r8d
	movl	12(%rsp), %ecx
	subl	%r8d, %ecx
	testl	%ecx, %ecx
	jle	.L6
	movslq	%r8d, %rsi
	movslq	%ecx, %rdx
	movq	%r12, %rdi
	movl	%ecx, 8(%rsp)
	addq	%rbp, %rsi
	movl	%r8d, 4(%rsp)
	call	memcpy@PLT
	movl	8(%rsp), %ecx
	movl	4(%rsp), %r8d
.L6:
	testl	%r8d, %r8d
	jle	.L7
	movslq	%ecx, %rdi
	movslq	%r8d, %rdx
	movq	%rbp, %rsi
	addl	$1, %ebx
	addq	%r12, %rdi
	call	memcpy@PLT
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	28(%rsp), %ebx
	jl	.L9
.L5:
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	addl	$1, %ebx
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	%ebx, 28(%rsp)
	jg	.L9
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
.L15:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, 0(%rbp)
	je	.L15
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	28(%rsp), %rsi
	movq	%r15, %rdi
	movslq	%eax, %r13
	xorl	%eax, %eax
	movl	%r13d, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	xorl	%ebx, %ebx
	leaq	24(%rsp), %r14
	leaq	240(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %r8d
	movl	12(%rsp), %ecx
	subl	%r8d, %ecx
	testl	%ecx, %ecx
	jle	.L6
	movslq	%r8d, %rsi
	movslq	%ecx, %rdx
	movq	%r12, %rdi
	movl	%ecx, 8(%rsp)
	addq	%rbp, %rsi
	movl	%r8d, 4(%rsp)
	call	memcpy@PLT
	movl	8(%rsp), %ecx
	movl	4(%rsp), %r8d
.L6:
	testl	%r8d, %r8d
	jle	.L7
	movslq	%ecx, %rdi
	movslq	%r8d, %rdx
	movq	%rbp, %rsi
	addl	$1, %ebx
	addq	%r12, %rdi
	call	memcpy@PLT
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	28(%rsp), %ebx
	jl	.L9
.L5:
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	addl	$1, %ebx
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	%ebx, 28(%rsp)
	jg	.L9
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
.L15:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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>
#include <string.h>

int main() {
  char a[201], b[201];
  int n, m, i, j, l;

  while(1) {
    scanf("%s", a);
    if (strcmp(a, "-") == 0)  break;
    l = strlen(a);
    scanf("%d", &m);
    for (i = 0; i < m; i++) {
      scanf("%d", &n);
      for (j = 0; j < l - n; j++) {
        b[j] = a[j + n];
      }
      for (j = 0; j < n; j++) {
        b[l - n + j] = a[j];
      }
      b[l] = '\0';
      strcpy(a, b);
    }
    printf("%s\n", a);
  }

  return 0;
}

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

```c
#include <stdio.h>
#include <string.h>

int main() {
  char a[201], b[201];
  int n, m, i, j, l;

  while(1) {
    scanf("%s", a);
    if (strcmp(a, "-") == 0)  break;
    l = strlen(a);
    scanf("%d", &m);
    for (i = 0; i < m; i++) {
      scanf("%d", &n);
      for (j = 0; j < l - n; j++) {
        b[j] = a[j + n];
      }
      for (j = 0; j < n; j++) {
        b[l - n + j] = a[j];
      }
      b[l] = '\0';
      strcpy(a, b);
    }
    printf("%s\n", a);
  }

  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:

aaac
3
1
2
1
vwxyz
2
3
4
-
 caaa
3
1
2
1
vwxyz
2
3
4
-
 caaa
3
1
2
2
vxxyz
2
3
4
-
 ca`a
3
1
2
2
vwxyz
2
3
4
-
 caaa
3
1
0
2
vwxyz
2
3
4
-
 caaa
3
1
-1
2
vwxyz
2
3
4
-
 aaac
3
1
2
1
vwxyz
2
2
4
-
 ca`a
3
1
2
1
vwxyz
2
3
4
-
 ca`a
3
1
2
2
vwxyz
2
2
4
-
 caaa
3
1
0
2
vwxyz
2
3
2
-

aaac
xyzvw
 caaa
xyzvw
 aaac
xyzvx
 a`ac
xyzvw
 acaa
xyzvw
 ac
xyzvw
 aaac
wxyzv
 ca`a
xyzvw
 a`ac
wxyzv
 acaa
vwxyz

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>
#include <string.h>

int main() {
  char a[201], b[201];
  int n, m, i, j, l;

  while(1) {
    scanf("%s", a);
    if (strcmp(a, "-") == 0)  break;
    l = strlen(a);
    scanf("%d", &m);
    for (i = 0; i < m; i++) {
      scanf("%d", &n);
      for (j = 0; j < l - n; j++) {
        b[j] = a[j + n];
      }
      for (j = 0; j < n; j++) {
        b[l - n + j] = a[j];
      }
      b[l] = '\0';
      strcpy(a, b);
    }
    printf("%s\n", a);
  }

  return 0;
}

```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, 0(%rbp)
	je	.L15
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	28(%rsp), %rsi
	movq	%r15, %rdi
	movslq	%eax, %r13
	xorl	%eax, %eax
	movl	%r13d, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	xorl	%ebx, %ebx
	leaq	24(%rsp), %r14
	leaq	240(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %r8d
	movl	12(%rsp), %ecx
	subl	%r8d, %ecx
	testl	%ecx, %ecx
	jle	.L6
	movslq	%r8d, %rsi
	movslq	%ecx, %rdx
	movq	%r12, %rdi
	movl	%ecx, 8(%rsp)
	addq	%rbp, %rsi
	movl	%r8d, 4(%rsp)
	call	memcpy@PLT
	movl	8(%rsp), %ecx
	movl	4(%rsp), %r8d
.L6:
	testl	%r8d, %r8d
	jle	.L7
	movslq	%ecx, %rdi
	movslq	%r8d, %rdx
	movq	%rbp, %rsi
	addl	$1, %ebx
	addq	%r12, %rdi
	call	memcpy@PLT
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	28(%rsp), %ebx
	jl	.L9
.L5:
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	addl	$1, %ebx
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	%ebx, 28(%rsp)
	jg	.L9
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
.L15:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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	"%s"
.LC1:
	.string	"-"
.LC2:
	.string	"%d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	.LC2(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$472, %rsp
	.cfi_def_cfa_offset 528
	movq	%fs:40, %rax
	movq	%rax, 456(%rsp)
	xorl	%eax, %eax
	leaq	32(%rsp), %rbp
	.p2align 4,,10
	.p2align 3
.L10:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	leaq	.LC0(%rip), %rdi
	call	__isoc99_scanf@PLT
	cmpw	$45, 0(%rbp)
	je	.L15
	movq	%rbp, %rdi
	call	strlen@PLT
	leaq	28(%rsp), %rsi
	movq	%r15, %rdi
	movslq	%eax, %r13
	xorl	%eax, %eax
	movl	%r13d, 12(%rsp)
	call	__isoc99_scanf@PLT
	movl	28(%rsp), %eax
	testl	%eax, %eax
	jle	.L5
	xorl	%ebx, %ebx
	leaq	24(%rsp), %r14
	leaq	240(%rsp), %r12
	.p2align 4,,10
	.p2align 3
.L9:
	movq	%r14, %rsi
	movq	%r15, %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	movl	24(%rsp), %r8d
	movl	12(%rsp), %ecx
	subl	%r8d, %ecx
	testl	%ecx, %ecx
	jle	.L6
	movslq	%r8d, %rsi
	movslq	%ecx, %rdx
	movq	%r12, %rdi
	movl	%ecx, 8(%rsp)
	addq	%rbp, %rsi
	movl	%r8d, 4(%rsp)
	call	memcpy@PLT
	movl	8(%rsp), %ecx
	movl	4(%rsp), %r8d
.L6:
	testl	%r8d, %r8d
	jle	.L7
	movslq	%ecx, %rdi
	movslq	%r8d, %rdx
	movq	%rbp, %rsi
	addl	$1, %ebx
	addq	%r12, %rdi
	call	memcpy@PLT
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	28(%rsp), %ebx
	jl	.L9
.L5:
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
	.p2align 4,,10
	.p2align 3
.L7:
	movl	$201, %edx
	movq	%r12, %rsi
	movq	%rbp, %rdi
	addl	$1, %ebx
	movb	$0, 240(%rsp,%r13)
	call	__strcpy_chk@PLT
	cmpl	%ebx, 28(%rsp)
	jg	.L9
	movq	%rbp, %rdi
	call	puts@PLT
	jmp	.L10
.L15:
	movq	456(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L16
	addq	$472, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 56
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 48
	popq	%rbp
	.cfi_def_cfa_offset 40
	popq	%r12
	.cfi_def_cfa_offset 32
	popq	%r13
	.cfi_def_cfa_offset 24
	popq	%r14
	.cfi_def_cfa_offset 16
	popq	%r15
	.cfi_def_cfa_offset 8
	ret
.L16:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE35:
	.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:
```