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

```c
// AOJ 2026: Divisor is the Conqueror
// 2017.11.03 bal4u@uu

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

int c[15];
int ans[54];
char f[14][365];		// 364=(13+1)*13/2*4

int rec(int j, int k)
{
	int i;
	if (j < 0) return 0;
	for (i = 1; i <= 13; i++) {
		if (!c[i]) continue;
		if (f[i][k-i]) {
			c[i]--, ans[j] = i;
			if (!rec(j-1, k-i)) return 0;
			c[i]++;
		}
	}
	return 1;
}

int main()
{
	int n, i, v, s;

	memset(f[1], 1, sizeof(f[1]));
	for (i = 2; i <= 13; i++) {
		f[i][0] = 1;
		for (v = i; v < 365; v += i) f[i][v] = 1;
	}

	while (scanf("%d", &n) && n > 0) {
		memset(c, 0, sizeof(c));
		for (s = 0, i = 0; i < n; i++) {
			scanf("%d", &v);
			s += v, c[v]++;
		}
		memset(ans, 0, sizeof(ans));
		if (rec(n-1, s)) puts("No");
		else {
			printf("%d", ans[0]);
			for (i = 1; i < n; i++) printf(" %d", ans[i]);
			putchar('\n');
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 60
c:
	.zero	60
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 216
ans:
	.zero	216
	.globl	f
	.align 32
	.type	f, @object
	.size	f, 5110
f:
	.zero	5110
	.text
	.globl	rec
	.type	rec, @function
rec:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jns	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movl	$1, -4(%rbp)
	jmp	.L4
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L9
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	ans(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	jmp	.L3
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L6
.L9:
	nop
.L6:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$13, -4(%rbp)
	jle	.L8
	movl	$1, %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rec, .-rec
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	" %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$365, %edx
	movl	$1, %esi
	leaq	365+f(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$2, -16(%rbp)
	jmp	.L11
.L14:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rax, %rdx
	leaq	f(%rip), %rax
	movb	$1, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L12
.L13:
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movb	$1, (%rax)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L12:
	movl	-20(%rbp), %eax
	cmpl	$364, %eax
	jle	.L13
	addl	$1, -16(%rbp)
.L11:
	cmpl	$13, -16(%rbp)
	jle	.L14
	jmp	.L15
.L22:
	movl	$60, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	addl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L16:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	$216, %edx
	movl	$0, %esi
	leaq	ans(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	je	.L18
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L18:
	movl	ans(%rip), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$1, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	movl	$10, %edi
	call	putchar@PLT
.L15:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L21
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jg	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.p2align 4
	.type	rec.part.0, @function
rec.part.0:
.LFB37:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %eax
	leaq	56+c(%rip), %r10
	leal	-1(%rsi), %r9d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	subl	$5, %eax
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%r9d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leal	-1(%rdi), %ebx
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movl	%ebx, 88(%rsp)
	leal	-2(%rdi), %ebx
	movl	%ebx, 92(%rsp)
	leal	-3(%rdi), %ebx
	movl	%eax, 108(%rsp)
	leaq	-52(%r10), %rax
	movl	%edi, 104(%rsp)
	leal	-4(%rdi), %edi
	movq	%rax, 8(%rsp)
	movslq	%ebx, %rax
	movl	%esi, 48(%rsp)
	movl	%ebx, 76(%rsp)
	movl	%edi, 28(%rsp)
	movq	%rax, 32(%rsp)
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L197:
	movslq	%ecx, %rdx
	leaq	f(%rip), %r13
	movslq	%r12d, %rax
	leaq	(%rdx,%rdx,8), %rdi
	leal	-1(%r12), %ebx
	leaq	(%rdx,%rdi,8), %rdx
	movl	%ebx, 24(%rsp)
	leaq	(%rdx,%rdx,4), %rdx
	addq	%r13, %rdx
	cmpb	$0, (%rdx,%rax)
	jne	.L230
.L2:
	addq	$4, 8(%rsp)
	movq	8(%rsp), %rax
	movl	24(%rsp), %r12d
	cmpq	%rax, %r10
	je	.L231
.L54:
	movq	8(%rsp), %rax
	movl	48(%rsp), %ecx
	movl	(%rax), %esi
	subl	%r12d, %ecx
	testl	%esi, %esi
	jne	.L197
	leal	-1(%r12), %eax
	movl	%eax, 24(%rsp)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L230:
	movq	8(%rsp), %rax
	subl	$1, %esi
	leaq	ans(%rip), %rbx
	cmpl	$-1, 88(%rsp)
	movl	%esi, (%rax)
	movslq	104(%rsp), %rax
	movl	%ecx, (%rbx,%rax,4)
	je	.L6
	movslq	88(%rsp), %rax
	movl	24(%rsp), %r14d
	movl	%r12d, 20(%rsp)
	leaq	4+c(%rip), %r9
	movl	108(%rsp), %r8d
	movq	%rax, 80(%rsp)
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L198:
	movslq	%ecx, %rax
	movslq	%r14d, %rsi
	leal	-1(%r14), %ebx
	leaq	(%rax,%rax,8), %rdi
	movl	%ebx, 16(%rsp)
	leaq	(%rax,%rdi,8), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%r13, %rax
	cmpb	$0, (%rax,%rsi)
	jne	.L232
.L5:
	movl	20(%rsp), %eax
	movl	16(%rsp), %r14d
	addq	$4, %r9
	subl	$14, %eax
	cmpl	%eax, %r14d
	je	.L233
.L52:
	movl	20(%rsp), %ecx
	movl	(%r9), %edx
	subl	%r14d, %ecx
	testl	%edx, %edx
	jne	.L198
	leal	-1(%r14), %eax
	movl	%eax, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L232:
	.cfi_restore_state
	movq	80(%rsp), %rbx
	leaq	ans(%rip), %rax
	subl	$1, %edx
	movl	%edx, (%r9)
	movl	%ecx, (%rax,%rbx,4)
	movslq	92(%rsp), %rax
	cmpl	$-1, %eax
	je	.L6
	movq	%rax, 40(%rsp)
	movslq	28(%rsp), %rax
	leaq	4+c(%rip), %r15
	movl	$1, %r14d
	movq	%r9, 96(%rsp)
	movl	16(%rsp), %r12d
	movq	%rax, 64(%rsp)
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %r14d
	addq	$4, %r15
	subl	$1, %r12d
	cmpl	$14, %r14d
	je	.L234
.L50:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	.L7
	movslq	%r14d, %rdx
	movslq	%r12d, %rax
	leaq	(%rdx,%rdx,8), %rsi
	leaq	(%rdx,%rsi,8), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	addq	%r13, %rdx
	cmpb	$0, (%rdx,%rax)
	je	.L7
	movq	40(%rsp), %rbx
	subl	$1, %ecx
	leaq	ans(%rip), %rax
	cmpl	$-1, 76(%rsp)
	movl	%ecx, (%r15)
	movl	%r14d, (%rax,%rbx,4)
	je	.L6
	leal	-13(%r12), %r11d
	movl	%r14d, 52(%rsp)
	leal	-14(%r12), %ebx
	leaq	4+c(%rip), %rbp
	movl	%r12d, 72(%rsp)
	movl	%r8d, %r12d
	movq	%r15, 56(%rsp)
	movq	%rbp, %r14
	movl	%r11d, %r15d
	movq	64(%rsp), %rbp
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$4, %r14
	subl	$1, %ebx
	cmpq	%r10, %r14
	je	.L235
.L48:
	movl	(%r14), %esi
	movl	%r15d, %edi
	subl	%ebx, %edi
	testl	%esi, %esi
	je	.L8
	movslq	%edi, %rcx
	leal	13(%rbx), %eax
	leaq	(%rcx,%rcx,8), %r9
	cltq
	leaq	(%rcx,%r9,8), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	addq	%r13, %rcx
	cmpb	$0, (%rcx,%rax)
	je	.L8
	movq	32(%rsp), %rdx
	subl	$1, %esi
	leaq	ans(%rip), %rax
	cmpl	$-1, 28(%rsp)
	movl	%esi, (%r14)
	movl	%edi, (%rax,%rdx,4)
	je	.L6
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L9
	leal	12(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 365(%r13,%rcx)
	jne	.L236
.L9:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L12
	leal	11(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 730(%r13,%rcx)
	jne	.L237
.L12:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L15
	leal	10(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1095(%r13,%rcx)
	jne	.L238
.L15:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L18
	leal	9(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1460(%r13,%rcx)
	jne	.L239
.L18:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L21
	leal	8(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1825(%r13,%rcx)
	jne	.L240
.L21:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L24
	leal	7(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2190(%r13,%rcx)
	jne	.L241
.L24:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L27
	leal	6(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2555(%r13,%rcx)
	jne	.L242
.L27:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L30
	leal	5(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2920(%r13,%rcx)
	jne	.L243
.L30:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L33
	leal	4(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 3285(%r13,%rcx)
	jne	.L244
.L33:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L36
	leal	3(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 3650(%r13,%rcx)
	jne	.L245
.L36:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L39
	leal	2(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 4015(%r13,%rcx)
	jne	.L246
.L39:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L42
	leal	1(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 4380(%r13,%rcx)
	jne	.L247
.L42:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L45
	movslq	%ebx, %rcx
	cmpb	$0, 4745(%r13,%rcx)
	jne	.L248
.L45:
	addl	$1, (%r14)
	addq	$4, %r14
	subl	$1, %ebx
	cmpq	%r10, %r14
	jne	.L48
.L235:
	movq	56(%rsp), %r15
	movl	%r12d, %r8d
	movl	52(%rsp), %r14d
	movl	72(%rsp), %r12d
	addl	$1, (%r15)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L234:
	movq	96(%rsp), %r9
	addl	$1, (%r9)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L233:
	movq	8(%rsp), %rax
	addl	$1, (%rax)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L236:
	subl	$1, %eax
	movl	%eax, 4+c(%rip)
	leaq	ans(%rip), %rax
	movl	$1, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 4+c(%rip)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L237:
	subl	$1, %eax
	movl	%eax, 8+c(%rip)
	leaq	ans(%rip), %rax
	movl	$2, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 8+c(%rip)
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L238:
	subl	$1, %eax
	movl	%eax, 12+c(%rip)
	leaq	ans(%rip), %rax
	movl	$3, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 12+c(%rip)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L239:
	subl	$1, %eax
	movl	%eax, 16+c(%rip)
	leaq	ans(%rip), %rax
	movl	$4, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 16+c(%rip)
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L240:
	subl	$1, %eax
	movl	%eax, 20+c(%rip)
	leaq	ans(%rip), %rax
	movl	$5, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 20+c(%rip)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L241:
	subl	$1, %eax
	movl	%eax, 24+c(%rip)
	leaq	ans(%rip), %rax
	movl	$6, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 24+c(%rip)
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L242:
	subl	$1, %eax
	movl	%eax, 28+c(%rip)
	leaq	ans(%rip), %rax
	movl	$7, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 28+c(%rip)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L243:
	subl	$1, %eax
	movl	%eax, 32+c(%rip)
	leaq	ans(%rip), %rax
	movl	$8, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 32+c(%rip)
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L244:
	subl	$1, %eax
	movl	%eax, 36+c(%rip)
	leaq	ans(%rip), %rax
	movl	$9, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 36+c(%rip)
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L245:
	subl	$1, %eax
	movl	%eax, 40+c(%rip)
	leaq	ans(%rip), %rax
	movl	$10, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 40+c(%rip)
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L246:
	subl	$1, %eax
	movl	%eax, 44+c(%rip)
	leaq	ans(%rip), %rax
	movl	$11, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 44+c(%rip)
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L247:
	subl	$1, %eax
	movl	%eax, 48+c(%rip)
	leaq	ans(%rip), %rax
	movl	$12, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 48+c(%rip)
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L248:
	subl	$1, %eax
	movl	%eax, 52+c(%rip)
	leaq	ans(%rip), %rax
	movl	$13, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%ebx, %esi
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 52+c(%rip)
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L231:
	addq	$120, %rsp
	.cfi_def_cfa_offset 56
	movl	$1, %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
	.cfi_endproc
.LFE37:
	.size	rec.part.0, .-rec.part.0
	.p2align 4
	.globl	rec
	.type	rec, @function
rec:
.LFB35:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	js	.L410
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%edi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leal	-1(%rdi), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movl	%esi, %ebx
	je	.L251
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L252
	leal	-1(%rsi), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 365(%rcx,%rdx)
	jne	.L414
.L252:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L253
.L427:
	leal	-2(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 730(%rcx,%rdx)
	jne	.L415
.L253:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L254
.L428:
	leal	-3(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1095(%rcx,%rdx)
	jne	.L416
.L254:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L255
.L429:
	leal	-4(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1460(%rcx,%rdx)
	jne	.L417
.L255:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L256
	leal	-5(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1825(%rcx,%rdx)
	jne	.L418
.L256:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L257
	leal	-6(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2190(%rcx,%rdx)
	jne	.L419
.L257:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L258
	leal	-7(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2555(%rcx,%rdx)
	jne	.L420
.L258:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L259
	leal	-8(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2920(%rcx,%rdx)
	jne	.L421
.L259:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L260
	leal	-9(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3285(%rcx,%rdx)
	jne	.L422
.L260:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L261
	leal	-10(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3650(%rcx,%rdx)
	jne	.L423
.L261:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L262
	leal	-11(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4015(%rcx,%rdx)
	jne	.L424
.L262:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L263
	leal	-12(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4380(%rcx,%rdx)
	jne	.L425
.L263:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L265
	leal	-13(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4745(%rcx,%rdx)
	jne	.L426
.L265:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L414:
	.cfi_restore_state
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%eax, 4+c(%rip)
	movslq	%edi, %rax
	movl	%ebp, %edi
	movl	$1, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	8+c(%rip), %eax
	addl	$1, 4+c(%rip)
	testl	%eax, %eax
	jne	.L427
	jmp	.L253
	.p2align 4,,10
	.p2align 3
.L415:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 8+c(%rip)
	movslq	%r12d, %rax
	movl	$2, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	12+c(%rip), %eax
	addl	$1, 8+c(%rip)
	testl	%eax, %eax
	jne	.L428
	jmp	.L254
	.p2align 4,,10
	.p2align 3
.L416:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 12+c(%rip)
	movslq	%r12d, %rax
	movl	$3, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	16+c(%rip), %eax
	addl	$1, 12+c(%rip)
	testl	%eax, %eax
	jne	.L429
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L422:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 36+c(%rip)
	movslq	%r12d, %rax
	movl	$9, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 36+c(%rip)
	jmp	.L260
	.p2align 4,,10
	.p2align 3
.L423:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 40+c(%rip)
	movslq	%r12d, %rax
	movl	$10, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 40+c(%rip)
	jmp	.L261
	.p2align 4,,10
	.p2align 3
.L424:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 44+c(%rip)
	movslq	%r12d, %rax
	movl	$11, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 44+c(%rip)
	jmp	.L262
	.p2align 4,,10
	.p2align 3
.L425:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 48+c(%rip)
	movslq	%r12d, %rax
	movl	$12, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 48+c(%rip)
	jmp	.L263
	.p2align 4,,10
	.p2align 3
.L426:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 52+c(%rip)
	movslq	%r12d, %rax
	movl	$13, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 52+c(%rip)
	jmp	.L265
	.p2align 4,,10
	.p2align 3
.L251:
	movl	4+c(%rip), %edx
	testl	%edx, %edx
	je	.L266
	leal	-1(%rsi), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 365(%rcx,%rax)
	jne	.L280
.L266:
	movl	8+c(%rip), %edx
	testl	%edx, %edx
	je	.L268
	leal	-2(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 730(%rcx,%rax)
	jne	.L281
.L268:
	movl	12+c(%rip), %edx
	testl	%edx, %edx
	je	.L269
	leal	-3(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1095(%rcx,%rax)
	jne	.L282
.L269:
	movl	16+c(%rip), %edx
	testl	%edx, %edx
	je	.L270
	leal	-4(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1460(%rcx,%rax)
	jne	.L283
.L270:
	movl	20+c(%rip), %edx
	testl	%edx, %edx
	je	.L271
	leal	-5(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1825(%rcx,%rax)
	jne	.L284
.L271:
	movl	24+c(%rip), %edx
	testl	%edx, %edx
	je	.L272
	leal	-6(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2190(%rcx,%rax)
	jne	.L285
.L272:
	movl	28+c(%rip), %edx
	testl	%edx, %edx
	je	.L273
	leal	-7(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2555(%rcx,%rax)
	jne	.L286
.L273:
	movl	32+c(%rip), %edx
	testl	%edx, %edx
	je	.L274
	leal	-8(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2920(%rcx,%rax)
	jne	.L287
.L274:
	movl	36+c(%rip), %edx
	testl	%edx, %edx
	je	.L275
	leal	-9(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 3285(%rcx,%rax)
	jne	.L288
.L275:
	movl	40+c(%rip), %edx
	testl	%edx, %edx
	je	.L276
	leal	-10(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 3650(%rcx,%rax)
	jne	.L289
.L276:
	movl	44+c(%rip), %edx
	testl	%edx, %edx
	je	.L277
	leal	-11(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4015(%rcx,%rax)
	jne	.L290
.L277:
	movl	48+c(%rip), %edx
	testl	%edx, %edx
	je	.L278
	leal	-12(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4380(%rcx,%rax)
	jne	.L291
.L278:
	movl	52+c(%rip), %edx
	testl	%edx, %edx
	je	.L265
	leal	-13(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4745(%rcx,%rax)
	je	.L265
	movl	$13, %ecx
	.p2align 4,,10
	.p2align 3
.L267:
	subl	$1, %edx
	leaq	c(%rip), %rax
	movslq	%ecx, %rsi
	movl	%edx, (%rax,%rsi,4)
	movslq	%r12d, %rax
	leaq	ans(%rip), %rdx
	movl	%ecx, (%rdx,%rax,4)
.L250:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L410:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L417:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 16+c(%rip)
	movslq	%r12d, %rax
	movl	$4, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 16+c(%rip)
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L418:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 20+c(%rip)
	movslq	%r12d, %rax
	movl	$5, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 20+c(%rip)
	jmp	.L256
	.p2align 4,,10
	.p2align 3
.L419:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 24+c(%rip)
	movslq	%r12d, %rax
	movl	$6, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 24+c(%rip)
	jmp	.L257
	.p2align 4,,10
	.p2align 3
.L420:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 28+c(%rip)
	movslq	%r12d, %rax
	movl	$7, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 28+c(%rip)
	jmp	.L258
	.p2align 4,,10
	.p2align 3
.L421:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 32+c(%rip)
	movslq	%r12d, %rax
	movl	$8, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 32+c(%rip)
	jmp	.L259
.L280:
	movl	$1, %ecx
	jmp	.L267
.L281:
	movl	$2, %ecx
	jmp	.L267
.L282:
	movl	$3, %ecx
	jmp	.L267
.L283:
	movl	$4, %ecx
	jmp	.L267
.L284:
	movl	$5, %ecx
	jmp	.L267
.L285:
	movl	$6, %ecx
	jmp	.L267
.L286:
	movl	$7, %ecx
	jmp	.L267
.L287:
	movl	$8, %ecx
	jmp	.L267
.L288:
	movl	$9, %ecx
	jmp	.L267
.L289:
	movl	$10, %ecx
	jmp	.L267
.L290:
	movl	$11, %ecx
	jmp	.L267
.L291:
	movl	$12, %ecx
	jmp	.L267
	.cfi_endproc
.LFE35:
	.size	rec, .-rec
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	" %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	373+f(%rip), %rdi
	leaq	365+f(%rip), %rcx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	andq	$-8, %rdi
	leaq	730+f(%rip), %r8
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	subq	%rdi, %rcx
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	addl	$365, %ecx
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	shrl	$3, %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	movabsq	$72340172838076673, %rax
	movq	%rax, 365+f(%rip)
	movq	%rax, 722+f(%rip)
	rep stosq
	leaq	2(%r8), %rdi
	movl	$2, %ecx
	.p2align 4,,10
	.p2align 3
.L432:
	movb	$1, (%r8)
	movl	%ecx, %esi
	movq	%rdi, %rdx
	movl	%ecx, %eax
	.p2align 4,,10
	.p2align 3
.L431:
	addl	%esi, %eax
	movb	$1, (%rdx)
	addq	%rcx, %rdx
	cmpl	$364, %eax
	jle	.L431
	addq	$1, %rcx
	addq	$365, %r8
	addq	$366, %rdi
	cmpq	$14, %rcx
	jne	.L432
	movl	%eax, 20(%rsp)
	leaq	16(%rsp), %rax
	leaq	.LC0(%rip), %rbp
	movq	%rax, 8(%rsp)
	leaq	c(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L433:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L478
	movl	16(%rsp), %eax
	testl	%eax, %eax
	jle	.L478
	pxor	%xmm0, %xmm0
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r13
	xorl	%r12d, %r12d
	movq	$0, 48+c(%rip)
	movl	$0, 56+c(%rip)
	movaps	%xmm0, c(%rip)
	movaps	%xmm0, 16+c(%rip)
	movaps	%xmm0, 32+c(%rip)
	.p2align 4,,10
	.p2align 3
.L434:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movslq	20(%rsp), %rax
	movl	16(%rsp), %r15d
	addl	$1, (%rbx,%rax,4)
	addl	%eax, %r14d
	cmpl	%r12d, %r15d
	jg	.L434
	movl	$27, %ecx
	xorl	%eax, %eax
	leaq	ans(%rip), %rdi
	movl	%r15d, %r13d
	rep stosq
	subl	$1, %r13d
	js	.L481
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L436
	leal	-1(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 365(%rcx,%rdx)
	jne	.L536
.L436:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L439
	leal	-2(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 730(%rcx,%rdx)
	jne	.L537
.L439:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L442
	leal	-3(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1095(%rcx,%rdx)
	jne	.L538
.L442:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L445
	leal	-4(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1460(%rcx,%rdx)
	jne	.L539
.L445:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L448
	leal	-5(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1825(%rcx,%rdx)
	jne	.L540
.L448:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L451
	leal	-6(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2190(%rcx,%rdx)
	jne	.L541
.L451:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L454
	leal	-7(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2555(%rcx,%rdx)
	jne	.L542
.L454:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L457
	leal	-8(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2920(%rcx,%rdx)
	jne	.L543
.L457:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L460
	leal	-9(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3285(%rcx,%rdx)
	jne	.L544
.L460:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L463
	leal	-10(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3650(%rcx,%rdx)
	jne	.L545
.L463:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L466
	leal	-11(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4015(%rcx,%rdx)
	jne	.L546
.L466:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L469
	leal	-12(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4380(%rcx,%rdx)
	jne	.L547
.L469:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L472
	leal	-13(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4745(%rcx,%rdx)
	jne	.L548
.L472:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L433
	.p2align 4,,10
	.p2align 3
.L481:
	xorl	%edx, %edx
.L435:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	$1, %r13d
	call	__printf_chk@PLT
	cmpl	$1, 16(%rsp)
	jle	.L477
	.p2align 4,,10
	.p2align 3
.L476:
	leaq	ans(%rip), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	(%rax,%r13,4), %edx
	xorl	%eax, %eax
	addq	$1, %r13
	call	__printf_chk@PLT
	cmpl	%r13d, 16(%rsp)
	jg	.L476
.L477:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L433
	.p2align 4,,10
	.p2align 3
.L536:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 4+c(%rip)
	movslq	%r13d, %rax
	movl	$1, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 4+c(%rip)
	jmp	.L436
	.p2align 4,,10
	.p2align 3
.L532:
	leaq	ans(%rip), %rax
.L535:
	movl	(%rax), %edx
	jmp	.L435
	.p2align 4,,10
	.p2align 3
.L537:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 8+c(%rip)
	movslq	%r13d, %rax
	movl	$2, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 8+c(%rip)
	jmp	.L439
	.p2align 4,,10
	.p2align 3
.L538:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 12+c(%rip)
	movslq	%r13d, %rax
	movl	$3, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 12+c(%rip)
	jmp	.L442
	.p2align 4,,10
	.p2align 3
.L539:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 16+c(%rip)
	movslq	%r13d, %rax
	movl	$4, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 16+c(%rip)
	jmp	.L445
	.p2align 4,,10
	.p2align 3
.L540:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 20+c(%rip)
	movslq	%r13d, %rax
	movl	$5, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 20+c(%rip)
	jmp	.L448
	.p2align 4,,10
	.p2align 3
.L534:
	movl	(%rcx), %edx
	jmp	.L435
	.p2align 4,,10
	.p2align 3
.L541:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 24+c(%rip)
	movslq	%r13d, %rax
	movl	$6, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 24+c(%rip)
	jmp	.L451
	.p2align 4,,10
	.p2align 3
.L542:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 28+c(%rip)
	movslq	%r13d, %rax
	movl	$7, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 28+c(%rip)
	jmp	.L454
	.p2align 4,,10
	.p2align 3
.L543:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 32+c(%rip)
	movslq	%r13d, %rax
	movl	$8, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 32+c(%rip)
	jmp	.L457
	.p2align 4,,10
	.p2align 3
.L544:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 36+c(%rip)
	movslq	%r13d, %rax
	movl	$9, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 36+c(%rip)
	jmp	.L460
	.p2align 4,,10
	.p2align 3
.L545:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 40+c(%rip)
	movslq	%r13d, %rax
	movl	$10, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 40+c(%rip)
	jmp	.L463
.L546:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 44+c(%rip)
	movslq	%r13d, %rax
	movl	$11, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 44+c(%rip)
	jmp	.L466
.L547:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 48+c(%rip)
	movslq	%r13d, %rax
	movl	$12, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 48+c(%rip)
	jmp	.L469
.L548:
	subl	$1, %eax
	movslq	%r13d, %r13
	movl	%r15d, %edi
	movl	%eax, 52+c(%rip)
	leaq	ans(%rip), %rax
	movl	$13, (%rax,%r13,4)
	subl	$2, %edi
	js	.L535
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 52+c(%rip)
	jmp	.L472
.L478:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L549
	addq	$40, %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
.L549:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	f
	.bss
	.align 32
	.type	f, @object
	.size	f, 5110
f:
	.zero	5110
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 216
ans:
	.zero	216
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 60
c:
	.zero	60
	.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
	.p2align 4
	.type	rec.part.0, @function
rec.part.0:
.LFB37:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %eax
	leaq	56+c(%rip), %r10
	leal	-1(%rsi), %r9d
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	subl	$5, %eax
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	movl	%r9d, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leal	-1(%rdi), %ebx
	subq	$120, %rsp
	.cfi_def_cfa_offset 176
	movl	%ebx, 88(%rsp)
	leal	-2(%rdi), %ebx
	movl	%ebx, 92(%rsp)
	leal	-3(%rdi), %ebx
	movl	%eax, 108(%rsp)
	leaq	-52(%r10), %rax
	movl	%edi, 104(%rsp)
	leal	-4(%rdi), %edi
	movq	%rax, 8(%rsp)
	movslq	%ebx, %rax
	movl	%esi, 48(%rsp)
	movl	%ebx, 76(%rsp)
	movl	%edi, 28(%rsp)
	movq	%rax, 32(%rsp)
	jmp	.L54
	.p2align 4,,10
	.p2align 3
.L197:
	movslq	%ecx, %rdx
	leaq	f(%rip), %r13
	movslq	%r12d, %rax
	leaq	(%rdx,%rdx,8), %rdi
	leal	-1(%r12), %ebx
	leaq	(%rdx,%rdi,8), %rdx
	movl	%ebx, 24(%rsp)
	leaq	(%rdx,%rdx,4), %rdx
	addq	%r13, %rdx
	cmpb	$0, (%rdx,%rax)
	jne	.L230
.L2:
	addq	$4, 8(%rsp)
	movq	8(%rsp), %rax
	movl	24(%rsp), %r12d
	cmpq	%rax, %r10
	je	.L231
.L54:
	movq	8(%rsp), %rax
	movl	48(%rsp), %ecx
	movl	(%rax), %esi
	subl	%r12d, %ecx
	testl	%esi, %esi
	jne	.L197
	leal	-1(%r12), %eax
	movl	%eax, 24(%rsp)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L230:
	movq	8(%rsp), %rax
	subl	$1, %esi
	leaq	ans(%rip), %rbx
	cmpl	$-1, 88(%rsp)
	movl	%esi, (%rax)
	movslq	104(%rsp), %rax
	movl	%ecx, (%rbx,%rax,4)
	je	.L6
	movslq	88(%rsp), %rax
	movl	24(%rsp), %r14d
	movl	%r12d, 20(%rsp)
	leaq	4+c(%rip), %r9
	movl	108(%rsp), %r8d
	movq	%rax, 80(%rsp)
	jmp	.L52
	.p2align 4,,10
	.p2align 3
.L198:
	movslq	%ecx, %rax
	movslq	%r14d, %rsi
	leal	-1(%r14), %ebx
	leaq	(%rax,%rax,8), %rdi
	movl	%ebx, 16(%rsp)
	leaq	(%rax,%rdi,8), %rax
	leaq	(%rax,%rax,4), %rax
	addq	%r13, %rax
	cmpb	$0, (%rax,%rsi)
	jne	.L232
.L5:
	movl	20(%rsp), %eax
	movl	16(%rsp), %r14d
	addq	$4, %r9
	subl	$14, %eax
	cmpl	%eax, %r14d
	je	.L233
.L52:
	movl	20(%rsp), %ecx
	movl	(%r9), %edx
	subl	%r14d, %ecx
	testl	%edx, %edx
	jne	.L198
	leal	-1(%r14), %eax
	movl	%eax, 16(%rsp)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$120, %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
	.p2align 4,,10
	.p2align 3
.L232:
	.cfi_restore_state
	movq	80(%rsp), %rbx
	leaq	ans(%rip), %rax
	subl	$1, %edx
	movl	%edx, (%r9)
	movl	%ecx, (%rax,%rbx,4)
	movslq	92(%rsp), %rax
	cmpl	$-1, %eax
	je	.L6
	movq	%rax, 40(%rsp)
	movslq	28(%rsp), %rax
	leaq	4+c(%rip), %r15
	movl	$1, %r14d
	movq	%r9, 96(%rsp)
	movl	16(%rsp), %r12d
	movq	%rax, 64(%rsp)
	jmp	.L50
	.p2align 4,,10
	.p2align 3
.L7:
	addl	$1, %r14d
	addq	$4, %r15
	subl	$1, %r12d
	cmpl	$14, %r14d
	je	.L234
.L50:
	movl	(%r15), %ecx
	testl	%ecx, %ecx
	je	.L7
	movslq	%r14d, %rdx
	movslq	%r12d, %rax
	leaq	(%rdx,%rdx,8), %rsi
	leaq	(%rdx,%rsi,8), %rdx
	leaq	(%rdx,%rdx,4), %rdx
	addq	%r13, %rdx
	cmpb	$0, (%rdx,%rax)
	je	.L7
	movq	40(%rsp), %rbx
	subl	$1, %ecx
	leaq	ans(%rip), %rax
	cmpl	$-1, 76(%rsp)
	movl	%ecx, (%r15)
	movl	%r14d, (%rax,%rbx,4)
	je	.L6
	leal	-13(%r12), %r11d
	movl	%r14d, 52(%rsp)
	leal	-14(%r12), %ebx
	leaq	4+c(%rip), %rbp
	movl	%r12d, 72(%rsp)
	movl	%r8d, %r12d
	movq	%r15, 56(%rsp)
	movq	%rbp, %r14
	movl	%r11d, %r15d
	movq	64(%rsp), %rbp
	jmp	.L48
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$4, %r14
	subl	$1, %ebx
	cmpq	%r10, %r14
	je	.L235
.L48:
	movl	(%r14), %esi
	movl	%r15d, %edi
	subl	%ebx, %edi
	testl	%esi, %esi
	je	.L8
	movslq	%edi, %rcx
	leal	13(%rbx), %eax
	leaq	(%rcx,%rcx,8), %r9
	cltq
	leaq	(%rcx,%r9,8), %rcx
	leaq	(%rcx,%rcx,4), %rcx
	addq	%r13, %rcx
	cmpb	$0, (%rcx,%rax)
	je	.L8
	movq	32(%rsp), %rdx
	subl	$1, %esi
	leaq	ans(%rip), %rax
	cmpl	$-1, 28(%rsp)
	movl	%esi, (%r14)
	movl	%edi, (%rax,%rdx,4)
	je	.L6
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L9
	leal	12(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 365(%r13,%rcx)
	jne	.L236
.L9:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L12
	leal	11(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 730(%r13,%rcx)
	jne	.L237
.L12:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L15
	leal	10(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1095(%r13,%rcx)
	jne	.L238
.L15:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L18
	leal	9(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1460(%r13,%rcx)
	jne	.L239
.L18:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L21
	leal	8(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 1825(%r13,%rcx)
	jne	.L240
.L21:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L24
	leal	7(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2190(%r13,%rcx)
	jne	.L241
.L24:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L27
	leal	6(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2555(%r13,%rcx)
	jne	.L242
.L27:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L30
	leal	5(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 2920(%r13,%rcx)
	jne	.L243
.L30:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L33
	leal	4(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 3285(%r13,%rcx)
	jne	.L244
.L33:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L36
	leal	3(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 3650(%r13,%rcx)
	jne	.L245
.L36:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L39
	leal	2(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 4015(%r13,%rcx)
	jne	.L246
.L39:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L42
	leal	1(%rbx), %esi
	movslq	%esi, %rcx
	cmpb	$0, 4380(%r13,%rcx)
	jne	.L247
.L42:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L45
	movslq	%ebx, %rcx
	cmpb	$0, 4745(%r13,%rcx)
	jne	.L248
.L45:
	addl	$1, (%r14)
	addq	$4, %r14
	subl	$1, %ebx
	cmpq	%r10, %r14
	jne	.L48
.L235:
	movq	56(%rsp), %r15
	movl	%r12d, %r8d
	movl	52(%rsp), %r14d
	movl	72(%rsp), %r12d
	addl	$1, (%r15)
	jmp	.L7
	.p2align 4,,10
	.p2align 3
.L234:
	movq	96(%rsp), %r9
	addl	$1, (%r9)
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L233:
	movq	8(%rsp), %rax
	addl	$1, (%rax)
	jmp	.L2
	.p2align 4,,10
	.p2align 3
.L236:
	subl	$1, %eax
	movl	%eax, 4+c(%rip)
	leaq	ans(%rip), %rax
	movl	$1, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 4+c(%rip)
	jmp	.L9
	.p2align 4,,10
	.p2align 3
.L237:
	subl	$1, %eax
	movl	%eax, 8+c(%rip)
	leaq	ans(%rip), %rax
	movl	$2, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 8+c(%rip)
	jmp	.L12
	.p2align 4,,10
	.p2align 3
.L238:
	subl	$1, %eax
	movl	%eax, 12+c(%rip)
	leaq	ans(%rip), %rax
	movl	$3, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 12+c(%rip)
	jmp	.L15
	.p2align 4,,10
	.p2align 3
.L239:
	subl	$1, %eax
	movl	%eax, 16+c(%rip)
	leaq	ans(%rip), %rax
	movl	$4, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 16+c(%rip)
	jmp	.L18
	.p2align 4,,10
	.p2align 3
.L240:
	subl	$1, %eax
	movl	%eax, 20+c(%rip)
	leaq	ans(%rip), %rax
	movl	$5, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 20+c(%rip)
	jmp	.L21
	.p2align 4,,10
	.p2align 3
.L241:
	subl	$1, %eax
	movl	%eax, 24+c(%rip)
	leaq	ans(%rip), %rax
	movl	$6, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 24+c(%rip)
	jmp	.L24
	.p2align 4,,10
	.p2align 3
.L242:
	subl	$1, %eax
	movl	%eax, 28+c(%rip)
	leaq	ans(%rip), %rax
	movl	$7, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 28+c(%rip)
	jmp	.L27
	.p2align 4,,10
	.p2align 3
.L243:
	subl	$1, %eax
	movl	%eax, 32+c(%rip)
	leaq	ans(%rip), %rax
	movl	$8, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 32+c(%rip)
	jmp	.L30
	.p2align 4,,10
	.p2align 3
.L244:
	subl	$1, %eax
	movl	%eax, 36+c(%rip)
	leaq	ans(%rip), %rax
	movl	$9, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 36+c(%rip)
	jmp	.L33
	.p2align 4,,10
	.p2align 3
.L245:
	subl	$1, %eax
	movl	%eax, 40+c(%rip)
	leaq	ans(%rip), %rax
	movl	$10, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 40+c(%rip)
	jmp	.L36
	.p2align 4,,10
	.p2align 3
.L246:
	subl	$1, %eax
	movl	%eax, 44+c(%rip)
	leaq	ans(%rip), %rax
	movl	$11, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 44+c(%rip)
	jmp	.L39
	.p2align 4,,10
	.p2align 3
.L247:
	subl	$1, %eax
	movl	%eax, 48+c(%rip)
	leaq	ans(%rip), %rax
	movl	$12, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 48+c(%rip)
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L248:
	subl	$1, %eax
	movl	%eax, 52+c(%rip)
	leaq	ans(%rip), %rax
	movl	$13, (%rax,%rbp,4)
	cmpl	$-1, %r12d
	je	.L6
	movl	%ebx, %esi
	movl	%r12d, %edi
	call	rec.part.0
	leaq	56+c(%rip), %r10
	testl	%eax, %eax
	je	.L6
	addl	$1, 52+c(%rip)
	jmp	.L45
	.p2align 4,,10
	.p2align 3
.L231:
	addq	$120, %rsp
	.cfi_def_cfa_offset 56
	movl	$1, %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
	.cfi_endproc
.LFE37:
	.size	rec.part.0, .-rec.part.0
	.p2align 4
	.globl	rec
	.type	rec, @function
rec:
.LFB35:
	.cfi_startproc
	endbr64
	testl	%edi, %edi
	js	.L410
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	movl	%edi, %r12d
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	leal	-1(%rdi), %ebp
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movl	%esi, %ebx
	je	.L251
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L252
	leal	-1(%rsi), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 365(%rcx,%rdx)
	jne	.L414
.L252:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L253
.L427:
	leal	-2(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 730(%rcx,%rdx)
	jne	.L415
.L253:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L254
.L428:
	leal	-3(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1095(%rcx,%rdx)
	jne	.L416
.L254:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L255
.L429:
	leal	-4(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1460(%rcx,%rdx)
	jne	.L417
.L255:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L256
	leal	-5(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1825(%rcx,%rdx)
	jne	.L418
.L256:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L257
	leal	-6(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2190(%rcx,%rdx)
	jne	.L419
.L257:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L258
	leal	-7(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2555(%rcx,%rdx)
	jne	.L420
.L258:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L259
	leal	-8(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2920(%rcx,%rdx)
	jne	.L421
.L259:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L260
	leal	-9(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3285(%rcx,%rdx)
	jne	.L422
.L260:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L261
	leal	-10(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3650(%rcx,%rdx)
	jne	.L423
.L261:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L262
	leal	-11(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4015(%rcx,%rdx)
	jne	.L424
.L262:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L263
	leal	-12(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4380(%rcx,%rdx)
	jne	.L425
.L263:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L265
	leal	-13(%rbx), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4745(%rcx,%rdx)
	jne	.L426
.L265:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	movl	$1, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L414:
	.cfi_restore_state
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%eax, 4+c(%rip)
	movslq	%edi, %rax
	movl	%ebp, %edi
	movl	$1, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	8+c(%rip), %eax
	addl	$1, 4+c(%rip)
	testl	%eax, %eax
	jne	.L427
	jmp	.L253
	.p2align 4,,10
	.p2align 3
.L415:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 8+c(%rip)
	movslq	%r12d, %rax
	movl	$2, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	12+c(%rip), %eax
	addl	$1, 8+c(%rip)
	testl	%eax, %eax
	jne	.L428
	jmp	.L254
	.p2align 4,,10
	.p2align 3
.L416:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 12+c(%rip)
	movslq	%r12d, %rax
	movl	$3, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	movl	16+c(%rip), %eax
	addl	$1, 12+c(%rip)
	testl	%eax, %eax
	jne	.L429
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L422:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 36+c(%rip)
	movslq	%r12d, %rax
	movl	$9, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 36+c(%rip)
	jmp	.L260
	.p2align 4,,10
	.p2align 3
.L423:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 40+c(%rip)
	movslq	%r12d, %rax
	movl	$10, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 40+c(%rip)
	jmp	.L261
	.p2align 4,,10
	.p2align 3
.L424:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 44+c(%rip)
	movslq	%r12d, %rax
	movl	$11, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 44+c(%rip)
	jmp	.L262
	.p2align 4,,10
	.p2align 3
.L425:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 48+c(%rip)
	movslq	%r12d, %rax
	movl	$12, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 48+c(%rip)
	jmp	.L263
	.p2align 4,,10
	.p2align 3
.L426:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 52+c(%rip)
	movslq	%r12d, %rax
	movl	$13, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 52+c(%rip)
	jmp	.L265
	.p2align 4,,10
	.p2align 3
.L251:
	movl	4+c(%rip), %edx
	testl	%edx, %edx
	je	.L266
	leal	-1(%rsi), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 365(%rcx,%rax)
	jne	.L280
.L266:
	movl	8+c(%rip), %edx
	testl	%edx, %edx
	je	.L268
	leal	-2(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 730(%rcx,%rax)
	jne	.L281
.L268:
	movl	12+c(%rip), %edx
	testl	%edx, %edx
	je	.L269
	leal	-3(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1095(%rcx,%rax)
	jne	.L282
.L269:
	movl	16+c(%rip), %edx
	testl	%edx, %edx
	je	.L270
	leal	-4(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1460(%rcx,%rax)
	jne	.L283
.L270:
	movl	20+c(%rip), %edx
	testl	%edx, %edx
	je	.L271
	leal	-5(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 1825(%rcx,%rax)
	jne	.L284
.L271:
	movl	24+c(%rip), %edx
	testl	%edx, %edx
	je	.L272
	leal	-6(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2190(%rcx,%rax)
	jne	.L285
.L272:
	movl	28+c(%rip), %edx
	testl	%edx, %edx
	je	.L273
	leal	-7(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2555(%rcx,%rax)
	jne	.L286
.L273:
	movl	32+c(%rip), %edx
	testl	%edx, %edx
	je	.L274
	leal	-8(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 2920(%rcx,%rax)
	jne	.L287
.L274:
	movl	36+c(%rip), %edx
	testl	%edx, %edx
	je	.L275
	leal	-9(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 3285(%rcx,%rax)
	jne	.L288
.L275:
	movl	40+c(%rip), %edx
	testl	%edx, %edx
	je	.L276
	leal	-10(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 3650(%rcx,%rax)
	jne	.L289
.L276:
	movl	44+c(%rip), %edx
	testl	%edx, %edx
	je	.L277
	leal	-11(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4015(%rcx,%rax)
	jne	.L290
.L277:
	movl	48+c(%rip), %edx
	testl	%edx, %edx
	je	.L278
	leal	-12(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4380(%rcx,%rax)
	jne	.L291
.L278:
	movl	52+c(%rip), %edx
	testl	%edx, %edx
	je	.L265
	leal	-13(%rbx), %eax
	leaq	f(%rip), %rcx
	cltq
	cmpb	$0, 4745(%rcx,%rax)
	je	.L265
	movl	$13, %ecx
	.p2align 4,,10
	.p2align 3
.L267:
	subl	$1, %edx
	leaq	c(%rip), %rax
	movslq	%ecx, %rsi
	movl	%edx, (%rax,%rsi,4)
	movslq	%r12d, %rax
	leaq	ans(%rip), %rdx
	movl	%ecx, (%rdx,%rax,4)
.L250:
	popq	%rbx
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L410:
	.cfi_restore 3
	.cfi_restore 6
	.cfi_restore 12
	xorl	%eax, %eax
	ret
	.p2align 4,,10
	.p2align 3
.L417:
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	.cfi_offset 6, -24
	.cfi_offset 12, -16
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 16+c(%rip)
	movslq	%r12d, %rax
	movl	$4, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 16+c(%rip)
	jmp	.L255
	.p2align 4,,10
	.p2align 3
.L418:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 20+c(%rip)
	movslq	%r12d, %rax
	movl	$5, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 20+c(%rip)
	jmp	.L256
	.p2align 4,,10
	.p2align 3
.L419:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 24+c(%rip)
	movslq	%r12d, %rax
	movl	$6, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 24+c(%rip)
	jmp	.L257
	.p2align 4,,10
	.p2align 3
.L420:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 28+c(%rip)
	movslq	%r12d, %rax
	movl	$7, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 28+c(%rip)
	jmp	.L258
	.p2align 4,,10
	.p2align 3
.L421:
	subl	$1, %eax
	leaq	ans(%rip), %rdx
	movl	%ebp, %edi
	movl	%eax, 32+c(%rip)
	movslq	%r12d, %rax
	movl	$8, (%rdx,%rax,4)
	call	rec.part.0
	testl	%eax, %eax
	je	.L250
	addl	$1, 32+c(%rip)
	jmp	.L259
.L280:
	movl	$1, %ecx
	jmp	.L267
.L281:
	movl	$2, %ecx
	jmp	.L267
.L282:
	movl	$3, %ecx
	jmp	.L267
.L283:
	movl	$4, %ecx
	jmp	.L267
.L284:
	movl	$5, %ecx
	jmp	.L267
.L285:
	movl	$6, %ecx
	jmp	.L267
.L286:
	movl	$7, %ecx
	jmp	.L267
.L287:
	movl	$8, %ecx
	jmp	.L267
.L288:
	movl	$9, %ecx
	jmp	.L267
.L289:
	movl	$10, %ecx
	jmp	.L267
.L290:
	movl	$11, %ecx
	jmp	.L267
.L291:
	movl	$12, %ecx
	jmp	.L267
	.cfi_endproc
.LFE35:
	.size	rec, .-rec
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	" %d"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB36:
	.cfi_startproc
	endbr64
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	leaq	373+f(%rip), %rdi
	leaq	365+f(%rip), %rcx
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	andq	$-8, %rdi
	leaq	730+f(%rip), %r8
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	subq	%rdi, %rcx
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	addl	$365, %ecx
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	shrl	$3, %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$40, %rsp
	.cfi_def_cfa_offset 96
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	movabsq	$72340172838076673, %rax
	movq	%rax, 365+f(%rip)
	movq	%rax, 722+f(%rip)
	rep stosq
	leaq	2(%r8), %rdi
	movl	$2, %ecx
	.p2align 4,,10
	.p2align 3
.L432:
	movb	$1, (%r8)
	movl	%ecx, %esi
	movq	%rdi, %rdx
	movl	%ecx, %eax
	.p2align 4,,10
	.p2align 3
.L431:
	addl	%esi, %eax
	movb	$1, (%rdx)
	addq	%rcx, %rdx
	cmpl	$364, %eax
	jle	.L431
	addq	$1, %rcx
	addq	$365, %r8
	addq	$366, %rdi
	cmpq	$14, %rcx
	jne	.L432
	movl	%eax, 20(%rsp)
	leaq	16(%rsp), %rax
	leaq	.LC0(%rip), %rbp
	movq	%rax, 8(%rsp)
	leaq	c(%rip), %rbx
	.p2align 4,,10
	.p2align 3
.L433:
	movq	8(%rsp), %rsi
	xorl	%eax, %eax
	movq	%rbp, %rdi
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L478
	movl	16(%rsp), %eax
	testl	%eax, %eax
	jle	.L478
	pxor	%xmm0, %xmm0
	xorl	%r14d, %r14d
	leaq	20(%rsp), %r13
	xorl	%r12d, %r12d
	movq	$0, 48+c(%rip)
	movl	$0, 56+c(%rip)
	movaps	%xmm0, c(%rip)
	movaps	%xmm0, 16+c(%rip)
	movaps	%xmm0, 32+c(%rip)
	.p2align 4,,10
	.p2align 3
.L434:
	movq	%r13, %rsi
	movq	%rbp, %rdi
	xorl	%eax, %eax
	addl	$1, %r12d
	call	__isoc99_scanf@PLT
	movslq	20(%rsp), %rax
	movl	16(%rsp), %r15d
	addl	$1, (%rbx,%rax,4)
	addl	%eax, %r14d
	cmpl	%r12d, %r15d
	jg	.L434
	movl	$27, %ecx
	xorl	%eax, %eax
	leaq	ans(%rip), %rdi
	movl	%r15d, %r13d
	rep stosq
	subl	$1, %r13d
	js	.L481
	movl	4+c(%rip), %eax
	testl	%eax, %eax
	je	.L436
	leal	-1(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 365(%rcx,%rdx)
	jne	.L536
.L436:
	movl	8+c(%rip), %eax
	testl	%eax, %eax
	je	.L439
	leal	-2(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 730(%rcx,%rdx)
	jne	.L537
.L439:
	movl	12+c(%rip), %eax
	testl	%eax, %eax
	je	.L442
	leal	-3(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1095(%rcx,%rdx)
	jne	.L538
.L442:
	movl	16+c(%rip), %eax
	testl	%eax, %eax
	je	.L445
	leal	-4(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1460(%rcx,%rdx)
	jne	.L539
.L445:
	movl	20+c(%rip), %eax
	testl	%eax, %eax
	je	.L448
	leal	-5(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 1825(%rcx,%rdx)
	jne	.L540
.L448:
	movl	24+c(%rip), %eax
	testl	%eax, %eax
	je	.L451
	leal	-6(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2190(%rcx,%rdx)
	jne	.L541
.L451:
	movl	28+c(%rip), %eax
	testl	%eax, %eax
	je	.L454
	leal	-7(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2555(%rcx,%rdx)
	jne	.L542
.L454:
	movl	32+c(%rip), %eax
	testl	%eax, %eax
	je	.L457
	leal	-8(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 2920(%rcx,%rdx)
	jne	.L543
.L457:
	movl	36+c(%rip), %eax
	testl	%eax, %eax
	je	.L460
	leal	-9(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3285(%rcx,%rdx)
	jne	.L544
.L460:
	movl	40+c(%rip), %eax
	testl	%eax, %eax
	je	.L463
	leal	-10(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 3650(%rcx,%rdx)
	jne	.L545
.L463:
	movl	44+c(%rip), %eax
	testl	%eax, %eax
	je	.L466
	leal	-11(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4015(%rcx,%rdx)
	jne	.L546
.L466:
	movl	48+c(%rip), %eax
	testl	%eax, %eax
	je	.L469
	leal	-12(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4380(%rcx,%rdx)
	jne	.L547
.L469:
	movl	52+c(%rip), %eax
	testl	%eax, %eax
	je	.L472
	leal	-13(%r14), %esi
	leaq	f(%rip), %rcx
	movslq	%esi, %rdx
	cmpb	$0, 4745(%rcx,%rdx)
	jne	.L548
.L472:
	leaq	.LC1(%rip), %rdi
	call	puts@PLT
	jmp	.L433
	.p2align 4,,10
	.p2align 3
.L481:
	xorl	%edx, %edx
.L435:
	xorl	%eax, %eax
	movq	%rbp, %rsi
	movl	$1, %edi
	movl	$1, %r13d
	call	__printf_chk@PLT
	cmpl	$1, 16(%rsp)
	jle	.L477
	.p2align 4,,10
	.p2align 3
.L476:
	leaq	ans(%rip), %rax
	leaq	.LC2(%rip), %rsi
	movl	$1, %edi
	movl	(%rax,%r13,4), %edx
	xorl	%eax, %eax
	addq	$1, %r13
	call	__printf_chk@PLT
	cmpl	%r13d, 16(%rsp)
	jg	.L476
.L477:
	movq	stdout(%rip), %rsi
	movl	$10, %edi
	call	putc@PLT
	jmp	.L433
	.p2align 4,,10
	.p2align 3
.L536:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 4+c(%rip)
	movslq	%r13d, %rax
	movl	$1, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 4+c(%rip)
	jmp	.L436
	.p2align 4,,10
	.p2align 3
.L532:
	leaq	ans(%rip), %rax
.L535:
	movl	(%rax), %edx
	jmp	.L435
	.p2align 4,,10
	.p2align 3
.L537:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 8+c(%rip)
	movslq	%r13d, %rax
	movl	$2, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 8+c(%rip)
	jmp	.L439
	.p2align 4,,10
	.p2align 3
.L538:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 12+c(%rip)
	movslq	%r13d, %rax
	movl	$3, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 12+c(%rip)
	jmp	.L442
	.p2align 4,,10
	.p2align 3
.L539:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 16+c(%rip)
	movslq	%r13d, %rax
	movl	$4, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 16+c(%rip)
	jmp	.L445
	.p2align 4,,10
	.p2align 3
.L540:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 20+c(%rip)
	movslq	%r13d, %rax
	movl	$5, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 20+c(%rip)
	jmp	.L448
	.p2align 4,,10
	.p2align 3
.L534:
	movl	(%rcx), %edx
	jmp	.L435
	.p2align 4,,10
	.p2align 3
.L541:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 24+c(%rip)
	movslq	%r13d, %rax
	movl	$6, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 24+c(%rip)
	jmp	.L451
	.p2align 4,,10
	.p2align 3
.L542:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 28+c(%rip)
	movslq	%r13d, %rax
	movl	$7, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 28+c(%rip)
	jmp	.L454
	.p2align 4,,10
	.p2align 3
.L543:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 32+c(%rip)
	movslq	%r13d, %rax
	movl	$8, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 32+c(%rip)
	jmp	.L457
	.p2align 4,,10
	.p2align 3
.L544:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 36+c(%rip)
	movslq	%r13d, %rax
	movl	$9, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 36+c(%rip)
	jmp	.L460
	.p2align 4,,10
	.p2align 3
.L545:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 40+c(%rip)
	movslq	%r13d, %rax
	movl	$10, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 40+c(%rip)
	jmp	.L463
.L546:
	subl	$1, %eax
	leaq	ans(%rip), %rcx
	movl	%r15d, %edi
	movl	%eax, 44+c(%rip)
	movslq	%r13d, %rax
	movl	$11, (%rcx,%rax,4)
	subl	$2, %edi
	js	.L534
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 44+c(%rip)
	jmp	.L466
.L547:
	subl	$1, %eax
	leaq	ans(%rip), %rdi
	movl	%eax, 48+c(%rip)
	movslq	%r13d, %rax
	movl	$12, (%rdi,%rax,4)
	movl	%r15d, %edi
	subl	$2, %edi
	js	.L532
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 48+c(%rip)
	jmp	.L469
.L548:
	subl	$1, %eax
	movslq	%r13d, %r13
	movl	%r15d, %edi
	movl	%eax, 52+c(%rip)
	leaq	ans(%rip), %rax
	movl	$13, (%rax,%r13,4)
	subl	$2, %edi
	js	.L535
	call	rec.part.0
	testl	%eax, %eax
	je	.L532
	addl	$1, 52+c(%rip)
	jmp	.L472
.L478:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L549
	addq	$40, %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
.L549:
	.cfi_restore_state
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	f
	.bss
	.align 32
	.type	f, @object
	.size	f, 5110
f:
	.zero	5110
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 216
ans:
	.zero	216
	.globl	c
	.align 32
	.type	c, @object
	.size	c, 60
c:
	.zero	60
	.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:

// AOJ 2026: Divisor is the Conqueror
// 2017.11.03 bal4u@uu

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

int c[15];
int ans[54];
char f[14][365];		// 364=(13+1)*13/2*4

int rec(int j, int k)
{
	int i;
	if (j < 0) return 0;
	for (i = 1; i <= 13; i++) {
		if (!c[i]) continue;
		if (f[i][k-i]) {
			c[i]--, ans[j] = i;
			if (!rec(j-1, k-i)) return 0;
			c[i]++;
		}
	}
	return 1;
}

int main()
{
	int n, i, v, s;

	memset(f[1], 1, sizeof(f[1]));
	for (i = 2; i <= 13; i++) {
		f[i][0] = 1;
		for (v = i; v < 365; v += i) f[i][v] = 1;
	}

	while (scanf("%d", &n) && n > 0) {
		memset(c, 0, sizeof(c));
		for (s = 0, i = 0; i < n; i++) {
			scanf("%d", &v);
			s += v, c[v]++;
		}
		memset(ans, 0, sizeof(ans));
		if (rec(n-1, s)) puts("No");
		else {
			printf("%d", ans[0]);
			for (i = 1; i < n; i++) printf(" %d", ans[i]);
			putchar('\n');
		}
	}
	return 0;
}
5
1 2 3 6 7
4
2 3 3 3
0
 5
1 2 6 6 7
4
2 3 3 3
0
 5
1 3 3 4 7
4
2 3 3 3
0
 5
1 2 3 3 7
4
2 3 2 3
0
 5
1 2 6 6 7
4
2 3 2 3
0
 5
1 2 3 6 7
0
2 5 3 3
0
 5
1 2 6 6 7
0
2 3 2 3
0
 5
1 2 3 9 7
4
2 5 3 3
0
 5
1 2 12 6 7
0
2 4 2 3
0
 5
1 3 5 10 12
0
1 5 2 3
0

No
No
 6 6 2 7 1
No
 7 1 4 3 3
No
 3 3 1 7 2
3 3 2 2
 6 6 2 7 1
3 3 2 2
 No
 6 6 2 7 1
 9 3 2 7 1
No
 12 6 2 1 7
 12 3 5 10 1

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

```c
// AOJ 2026: Divisor is the Conqueror
// 2017.11.03 bal4u@uu

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

int c[15];
int ans[54];
char f[14][365];		// 364=(13+1)*13/2*4

int rec(int j, int k)
{
	int i;
	if (j < 0) return 0;
	for (i = 1; i <= 13; i++) {
		if (!c[i]) continue;
		if (f[i][k-i]) {
			c[i]--, ans[j] = i;
			if (!rec(j-1, k-i)) return 0;
			c[i]++;
		}
	}
	return 1;
}

int main()
{
	int n, i, v, s;

	memset(f[1], 1, sizeof(f[1]));
	for (i = 2; i <= 13; i++) {
		f[i][0] = 1;
		for (v = i; v < 365; v += i) f[i][v] = 1;
	}

	while (scanf("%d", &n) && n > 0) {
		memset(c, 0, sizeof(c));
		for (s = 0, i = 0; i < n; i++) {
			scanf("%d", &v);
			s += v, c[v]++;
		}
		memset(ans, 0, sizeof(ans));
		if (rec(n-1, s)) puts("No");
		else {
			printf("%d", ans[0]);
			for (i = 1; i < n; i++) printf(" %d", ans[i]);
			putchar('\n');
		}
	}
	return 0;
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 60
c:
	.zero	60
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 216
ans:
	.zero	216
	.globl	f
	.align 32
	.type	f, @object
	.size	f, 5110
f:
	.zero	5110
	.text
	.globl	rec
	.type	rec, @function
rec:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jns	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movl	$1, -4(%rbp)
	jmp	.L4
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L9
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	ans(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	jmp	.L3
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L6
.L9:
	nop
.L6:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$13, -4(%rbp)
	jle	.L8
	movl	$1, %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rec, .-rec
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	" %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$365, %edx
	movl	$1, %esi
	leaq	365+f(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$2, -16(%rbp)
	jmp	.L11
.L14:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rax, %rdx
	leaq	f(%rip), %rax
	movb	$1, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L12
.L13:
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movb	$1, (%rax)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L12:
	movl	-20(%rbp), %eax
	cmpl	$364, %eax
	jle	.L13
	addl	$1, -16(%rbp)
.L11:
	cmpl	$13, -16(%rbp)
	jle	.L14
	jmp	.L15
.L22:
	movl	$60, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	addl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L16:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	$216, %edx
	movl	$0, %esi
	leaq	ans(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	je	.L18
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L18:
	movl	ans(%rip), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$1, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	movl	$10, %edi
	call	putchar@PLT
.L15:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L21
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jg	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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
	.globl	c
	.bss
	.align 32
	.type	c, @object
	.size	c, 60
c:
	.zero	60
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 216
ans:
	.zero	216
	.globl	f
	.align 32
	.type	f, @object
	.size	f, 5110
f:
	.zero	5110
	.text
	.globl	rec
	.type	rec, @function
rec:
.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
	movl	%edi, -20(%rbp)
	movl	%esi, -24(%rbp)
	cmpl	$0, -20(%rbp)
	jns	.L2
	movl	$0, %eax
	jmp	.L3
.L2:
	movl	$1, -4(%rbp)
	jmp	.L4
.L8:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	je	.L9
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movzbl	(%rax), %eax
	testb	%al, %al
	je	.L6
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	-1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rcx
	leaq	ans(%rip), %rdx
	movl	-4(%rbp), %eax
	movl	%eax, (%rcx,%rdx)
	movl	-24(%rbp), %eax
	subl	-4(%rbp), %eax
	movl	-20(%rbp), %edx
	subl	$1, %edx
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	jne	.L7
	movl	$0, %eax
	jmp	.L3
.L7:
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-4(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	jmp	.L6
.L9:
	nop
.L6:
	addl	$1, -4(%rbp)
.L4:
	cmpl	$13, -4(%rbp)
	jle	.L8
	movl	$1, %eax
.L3:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	rec, .-rec
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"No"
.LC2:
	.string	" %d"
	.text
	.globl	main
	.type	main, @function
main:
.LFB1:
	.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
	movl	$365, %edx
	movl	$1, %esi
	leaq	365+f(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$2, -16(%rbp)
	jmp	.L11
.L14:
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rax, %rdx
	leaq	f(%rip), %rax
	movb	$1, (%rdx,%rax)
	movl	-16(%rbp), %eax
	movl	%eax, -20(%rbp)
	jmp	.L12
.L13:
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-16(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	salq	$3, %rax
	addq	%rdx, %rax
	leaq	0(,%rax,4), %rdx
	addq	%rdx, %rax
	leaq	(%rax,%rcx), %rdx
	leaq	f(%rip), %rax
	addq	%rdx, %rax
	movb	$1, (%rax)
	movl	-20(%rbp), %edx
	movl	-16(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -20(%rbp)
.L12:
	movl	-20(%rbp), %eax
	cmpl	$364, %eax
	jle	.L13
	addl	$1, -16(%rbp)
.L11:
	cmpl	$13, -16(%rbp)
	jle	.L14
	jmp	.L15
.L22:
	movl	$60, %edx
	movl	$0, %esi
	leaq	c(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	$0, -12(%rbp)
	movl	$0, -16(%rbp)
	jmp	.L16
.L17:
	leaq	-20(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	movl	-20(%rbp), %eax
	addl	%eax, -12(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rdx
	leaq	0(,%rdx,4), %rcx
	leaq	c(%rip), %rdx
	movl	(%rcx,%rdx), %edx
	leal	1(%rdx), %ecx
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	c(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	addl	$1, -16(%rbp)
.L16:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L17
	movl	$216, %edx
	movl	$0, %esi
	leaq	ans(%rip), %rax
	movq	%rax, %rdi
	call	memset@PLT
	movl	-24(%rbp), %eax
	leal	-1(%rax), %edx
	movl	-12(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	rec
	testl	%eax, %eax
	je	.L18
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L15
.L18:
	movl	ans(%rip), %eax
	movl	%eax, %esi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	movl	$1, -16(%rbp)
	jmp	.L19
.L20:
	movl	-16(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	ans(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
	addl	$1, -16(%rbp)
.L19:
	movl	-24(%rbp), %eax
	cmpl	%eax, -16(%rbp)
	jl	.L20
	movl	$10, %edi
	call	putchar@PLT
.L15:
	leaq	-24(%rbp), %rax
	movq	%rax, %rsi
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	testl	%eax, %eax
	je	.L21
	movl	-24(%rbp), %eax
	testl	%eax, %eax
	jg	.L22
.L21:
	movl	$0, %eax
	movq	-8(%rbp), %rdx
	subq	%fs:40, %rdx
	je	.L24
	call	__stack_chk_fail@PLT
.L24:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.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:
