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

```c
// AOJ Volume 0 Problem 0070

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

#define MAX_SUM (2*1 + 3*2 + 4*3 + 5*4 +6*5 + 7*6 + 8*7 + 9*8 + 10*9)

int no;
int n, s;
int num[10];
int table[MAX_SUM + 1][10];

void combination(int depth, int sum)
{
	int i;
	int s;
	
	if (depth == 11){
		return;
	}

	for (i = 0; i <= 9; i++){
		if (num[i] == 0){
           	num[i] = 1;
			s = sum + i * depth;
			
			table[s][depth]++;
		    combination(depth + 1, s);
		    num[i] = 0;
		}
	}
}

int main(void)
{
	combination(1, 0);
	
	while (scanf("%d%d", &n, &s) != EOF){
		if (s > 330 || n > 10){
			printf("0\n");
			continue;
		}
		printf("%d\n", table[s][n]);
	}
	
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	no
	.bss
	.align 4
	.type	no, @object
	.size	no, 4
no:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	num
	.align 32
	.type	num, @object
	.size	num, 40
num:
	.zero	40
	.globl	table
	.align 32
	.type	table, @object
	.size	table, 13240
table:
	.zero	13240
	.text
	.globl	combination
	.type	combination, @function
combination:
.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	$11, -20(%rbp)
	je	.L7
	movl	$0, -8(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-8(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	combination
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$0, (%rdx,%rax)
.L5:
	addl	$1, -8(%rbp)
.L4:
	cmpl	$9, -8(%rbp)
	jle	.L6
	jmp	.L1
.L7:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	combination, .-combination
	.section	.rodata
.LC0:
	.string	"0"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%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
	movl	$0, %esi
	movl	$1, %edi
	call	combination
	jmp	.L9
.L12:
	movl	s(%rip), %eax
	cmpl	$330, %eax
	jg	.L10
	movl	n(%rip), %eax
	cmpl	$10, %eax
	jle	.L11
.L10:
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L11:
	movl	s(%rip), %eax
	movl	n(%rip), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L9:
	leaq	s(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L12
	movl	$0, %eax
	popq	%rbp
	.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	combination.part.0, @function
combination.part.0:
.LFB37:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leal	4(%rax), %r11d
	leal	5(%rax), %r8d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leal	0(,%r11,4), %edx
	leal	2(%rax), %r9d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leal	3(%rax), %r10d
	leaq	40+num(%rip), %r14
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leal	4(%rax,%rsi), %eax
	leal	(%rdx,%r11), %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	%edi, 68(%rsp)
	leal	1(%rdi), %edi
	movl	%edi, 28(%rsp)
	leal	(%r11,%r11), %edi
	movl	%edi, 36(%rsp)
	addl	%r11d, %edi
	movl	%edi, 44(%rsp)
	addl	%edi, %edi
	movl	%edi, 52(%rsp)
	leal	0(,%r11,8), %edi
	movl	%edx, 40(%rsp)
	movl	%edi, %edx
	movl	%eax, 64(%rsp)
	leaq	-40(%r14), %rax
	subl	%r11d, %edx
	movl	%edi, 56(%rsp)
	addl	%r11d, %edi
	movq	%rax, 8(%rsp)
	movslq	%r10d, %rax
	movl	%edi, 96(%rsp)
	movl	%r8d, %edi
	movl	%r9d, %r8d
	movl	%ecx, 48(%rsp)
	movl	%edx, 60(%rsp)
	movq	%rax, 88(%rsp)
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$4, 8(%rsp)
	movq	8(%rsp), %rax
	movl	68(%rsp), %edx
	addl	%edx, 64(%rsp)
	cmpq	%rax, %r14
	je	.L62
.L43:
	movq	8(%rsp), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jne	.L2
	movslq	68(%rsp), %rdx
	movl	64(%rsp), %ecx
	movl	$-4, %r15d
	movl	$1, (%rax)
	leaq	table(%rip), %r12
	leaq	num(%rip), %r9
	subl	%edx, %r15d
	movl	%ecx, 24(%rsp)
	leal	(%r15,%rcx), %eax
	movslq	28(%rsp), %rcx
	cltq
	leaq	(%rax,%rax,4), %rax
	movq	%rcx, 80(%rsp)
	leaq	(%rdx,%rax,2), %rax
	movl	%r15d, %edx
	movl	%r11d, %r15d
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %ecx
	jne	.L3
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$4, %r9
	movl	28(%rsp), %ecx
	addl	%ecx, 24(%rsp)
	cmpq	%r9, %r14
	je	.L63
.L3:
	movl	(%r9), %eax
	testl	%eax, %eax
	jne	.L4
	movl	24(%rsp), %ecx
	movq	80(%rsp), %rsi
	movl	$1, (%r9)
	leaq	num(%rip), %r13
	leal	(%rdx,%rcx), %eax
	cltq
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,2), %rax
	addl	$1, (%r12,%rax,4)
	movslq	%r8d, %rax
	movq	%rax, 16(%rsp)
	movl	96(%rsp), %eax
	addl	%edx, %eax
	movl	%eax, 32(%rsp)
	cmpl	$11, %r8d
	je	.L41
	movq	%r9, 72(%rsp)
	movq	88(%rsp), %r9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$4, %r13
	addl	%r8d, %ecx
	cmpq	%r13, %r14
	je	.L64
.L5:
	movl	0(%r13), %eax
	testl	%eax, %eax
	jne	.L6
	leal	(%rdx,%rcx), %eax
	movq	16(%rsp), %rsi
	movl	%ecx, %ebp
	leaq	num(%rip), %rbx
	cltq
	movl	$1, 0(%r13)
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %r10d
	jne	.L7
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$4, %rbx
	addl	%r10d, %ebp
	cmpq	%rbx, %r14
	je	.L40
.L7:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	.L8
	leal	(%rdx,%rbp), %esi
	movl	$1, (%rbx)
	movslq	%esi, %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	leaq	(%rax,%r9), %r11
	addl	$1, (%r12,%r11,4)
	cmpl	$11, %r15d
	je	.L38
	leaq	num(%rip), %r11
	movl	(%r11), %r11d
	testl	%r11d, %r11d
	je	.L65
.L10:
	movl	4+num(%rip), %esi
	testl	%esi, %esi
	je	.L66
.L13:
	movl	8+num(%rip), %eax
	testl	%eax, %eax
	je	.L67
.L16:
	movl	12+num(%rip), %eax
	testl	%eax, %eax
	je	.L68
.L19:
	movl	16+num(%rip), %eax
	testl	%eax, %eax
	je	.L69
.L22:
	movl	20+num(%rip), %eax
	testl	%eax, %eax
	je	.L70
.L25:
	movl	24+num(%rip), %eax
	testl	%eax, %eax
	je	.L71
.L28:
	movl	28+num(%rip), %r11d
	testl	%r11d, %r11d
	je	.L72
.L31:
	movl	32+num(%rip), %esi
	testl	%esi, %esi
	je	.L73
.L34:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	je	.L74
.L38:
	movl	$0, (%rbx)
	addq	$4, %rbx
	addl	%r10d, %ebp
	cmpq	%rbx, %r14
	jne	.L7
.L40:
	movl	$0, 0(%r13)
	addq	$4, %r13
	addl	%r8d, %ecx
	cmpq	%r13, %r14
	jne	.L5
.L64:
	movq	72(%rsp), %r9
.L41:
	movl	$0, (%r9)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L74:
	movl	$1, 36+num(%rip)
	movl	32(%rsp), %eax
	leal	(%rax,%rbp), %esi
	movslq	%r15d, %rax
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L39
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L39:
	movl	$0, 36+num(%rip)
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L73:
	movl	$1, 32+num(%rip)
	movl	56(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L36
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L36:
	movl	$0, 32+num(%rip)
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L72:
	movl	$1, 28+num(%rip)
	movl	60(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L33
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L33:
	movl	$0, 28+num(%rip)
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L71:
	movl	$1, 24+num(%rip)
	movl	52(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L30
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L30:
	movl	$0, 24+num(%rip)
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L70:
	movl	$1, 20+num(%rip)
	movl	48(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L27
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L27:
	movl	$0, 20+num(%rip)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L69:
	movl	$1, 16+num(%rip)
	movl	40(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L24
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L24:
	movl	$0, 16+num(%rip)
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L68:
	movl	$1, 12+num(%rip)
	movl	44(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L21
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L21:
	movl	$0, 12+num(%rip)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L67:
	movl	$1, 8+num(%rip)
	movl	36(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L18
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L18:
	movl	$0, 8+num(%rip)
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L66:
	movl	$1, 4+num(%rip)
	movslq	%ebp, %rsi
	movslq	%r15d, %rax
	leaq	(%rsi,%rsi,4), %rsi
	leaq	(%rax,%rsi,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L15
	movl	%ebp, %esi
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L15:
	movl	$0, 4+num(%rip)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L65:
	movl	$1, num(%rip)
	movslq	%r15d, %r11
	addq	%r11, %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L12
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L12:
	movl	$0, num(%rip)
	jmp	.L10
.L63:
	movl	%r15d, %r11d
.L42:
	movq	8(%rsp), %rax
	movl	$0, (%rax)
	jmp	.L2
.L62:
	addq	$136, %rsp
	.cfi_def_cfa_offset 56
	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	combination.part.0, .-combination.part.0
	.p2align 4
	.globl	combination
	.type	combination, @function
combination:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movslq	%edi, %rbx
	cmpl	$11, %ebx
	je	.L75
	movl	%esi, %ebp
	leal	1(%rbx), %r12d
	cmpl	$10, %ebx
	je	.L77
	movl	num(%rip), %r8d
	testl	%r8d, %r8d
	je	.L102
	movl	4+num(%rip), %edi
	testl	%edi, %edi
	je	.L103
.L79:
	movl	8+num(%rip), %esi
	testl	%esi, %esi
	je	.L104
.L80:
	movl	12+num(%rip), %ecx
	testl	%ecx, %ecx
	je	.L105
.L81:
	movl	16+num(%rip), %edx
	testl	%edx, %edx
	je	.L106
.L82:
	movl	20+num(%rip), %eax
	testl	%eax, %eax
	je	.L107
.L83:
	movl	24+num(%rip), %eax
	testl	%eax, %eax
	je	.L108
.L84:
	movl	28+num(%rip), %eax
	testl	%eax, %eax
	je	.L109
.L85:
	movl	32+num(%rip), %eax
	testl	%eax, %eax
	je	.L110
.L86:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	je	.L111
.L75:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L111:
	.cfi_restore_state
	leal	(%rbx,%rbx,8), %esi
	movl	%r12d, %edi
	leaq	table(%rip), %rax
	movl	$1, 36+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rbx,%rdx,2), %rdx
	addl	$1, (%rax,%rdx,4)
	call	combination.part.0
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	movl	$0, 36+num(%rip)
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L110:
	.cfi_restore_state
	leal	0(%rbp,%rbx,8), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 32+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	36+num(%rip), %eax
	movl	$0, 32+num(%rip)
	testl	%eax, %eax
	jne	.L75
	jmp	.L111
	.p2align 4,,10
	.p2align 3
.L109:
	leal	0(,%rbx,8), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 28+num(%rip)
	subl	%ebx, %esi
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	32+num(%rip), %eax
	movl	$0, 28+num(%rip)
	testl	%eax, %eax
	jne	.L86
	jmp	.L110
	.p2align 4,,10
	.p2align 3
.L108:
	leal	(%rbx,%rbx,2), %eax
	movl	%r12d, %edi
	leaq	table(%rip), %rdx
	movl	$1, 24+num(%rip)
	leal	0(%rbp,%rax,2), %esi
	movslq	%ebx, %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	28+num(%rip), %eax
	movl	$0, 24+num(%rip)
	testl	%eax, %eax
	jne	.L85
	jmp	.L109
	.p2align 4,,10
	.p2align 3
.L107:
	leal	(%rbx,%rbx,4), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 20+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	24+num(%rip), %eax
	movl	$0, 20+num(%rip)
	testl	%eax, %eax
	jne	.L84
	jmp	.L108
	.p2align 4,,10
	.p2align 3
.L106:
	leal	0(%rbp,%rbx,4), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 16+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	20+num(%rip), %eax
	movl	$0, 16+num(%rip)
	testl	%eax, %eax
	jne	.L83
	jmp	.L107
	.p2align 4,,10
	.p2align 3
.L105:
	leal	(%rbx,%rbx,2), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 12+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	16+num(%rip), %edx
	movl	$0, 12+num(%rip)
	testl	%edx, %edx
	jne	.L82
	jmp	.L106
	.p2align 4,,10
	.p2align 3
.L104:
	leal	0(%rbp,%rbx,2), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 8+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	12+num(%rip), %ecx
	movl	$0, 8+num(%rip)
	testl	%ecx, %ecx
	jne	.L81
	jmp	.L105
	.p2align 4,,10
	.p2align 3
.L103:
	leal	(%rbx,%rbp), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 4+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	8+num(%rip), %esi
	movl	$0, 4+num(%rip)
	testl	%esi, %esi
	jne	.L80
	jmp	.L104
	.p2align 4,,10
	.p2align 3
.L102:
	movslq	%esi, %rcx
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, num(%rip)
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	4+num(%rip), %edi
	movl	$0, num(%rip)
	testl	%edi, %edi
	jne	.L79
	jmp	.L103
	.p2align 4,,10
	.p2align 3
.L77:
	movl	num(%rip), %ebx
	testl	%ebx, %ebx
	je	.L112
.L88:
	movl	4+num(%rip), %r11d
	testl	%r11d, %r11d
	je	.L113
.L89:
	movl	8+num(%rip), %r10d
	testl	%r10d, %r10d
	je	.L114
.L90:
	movl	12+num(%rip), %r9d
	testl	%r9d, %r9d
	je	.L115
.L91:
	movl	16+num(%rip), %r8d
	testl	%r8d, %r8d
	je	.L116
.L92:
	movl	20+num(%rip), %edi
	testl	%edi, %edi
	je	.L117
.L93:
	movl	24+num(%rip), %esi
	testl	%esi, %esi
	je	.L118
.L94:
	movl	28+num(%rip), %ecx
	testl	%ecx, %ecx
	je	.L119
.L95:
	movl	32+num(%rip), %edx
	testl	%edx, %edx
	je	.L120
.L96:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	jne	.L75
	leal	90(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L75
.L112:
	movslq	%esi, %rdx
	leaq	table(%rip), %rax
	leaq	5(%rdx,%rdx,4), %rdx
	addl	$1, (%rax,%rdx,8)
	jmp	.L88
.L120:
	leal	80(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L96
.L119:
	leal	70(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L95
.L118:
	leal	60(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L94
.L117:
	leal	50(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L93
.L116:
	leal	40(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L92
.L115:
	leal	30(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L91
.L114:
	leal	20(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L90
.L113:
	leal	10(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L89
	.cfi_endproc
.LFE35:
	.size	combination, .-combination
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%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
	xorl	%esi, %esi
	movl	$1, %edi
	leaq	table(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC1(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	s(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	n(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC2(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	combination.part.0
	.p2align 4,,10
	.p2align 3
.L122:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L128
	movslq	s(%rip), %rax
	cmpl	$330, %eax
	jg	.L123
	movslq	n(%rip), %rdx
	cmpl	$10, %edx
	jg	.L123
	leaq	(%rax,%rax,4), %rax
	movq	%r14, %rsi
	movl	$1, %edi
	leaq	(%rdx,%rax,2), %rax
	movl	(%r15,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L123:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L128:
	addq	$8, %rsp
	.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
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	table
	.bss
	.align 32
	.type	table, @object
	.size	table, 13240
table:
	.zero	13240
	.globl	num
	.align 32
	.type	num, @object
	.size	num, 40
num:
	.zero	40
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	no
	.align 4
	.type	no, @object
	.size	no, 4
no:
	.zero	4
	.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	combination.part.0, @function
combination.part.0:
.LFB37:
	.cfi_startproc
	pushq	%r15
	.cfi_def_cfa_offset 16
	.cfi_offset 15, -16
	movl	%edi, %eax
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leal	4(%rax), %r11d
	leal	5(%rax), %r8d
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leal	0(,%r11,4), %edx
	leal	2(%rax), %r9d
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leal	3(%rax), %r10d
	leaq	40+num(%rip), %r14
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leal	4(%rax,%rsi), %eax
	leal	(%rdx,%r11), %ecx
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	subq	$136, %rsp
	.cfi_def_cfa_offset 192
	movl	%edi, 68(%rsp)
	leal	1(%rdi), %edi
	movl	%edi, 28(%rsp)
	leal	(%r11,%r11), %edi
	movl	%edi, 36(%rsp)
	addl	%r11d, %edi
	movl	%edi, 44(%rsp)
	addl	%edi, %edi
	movl	%edi, 52(%rsp)
	leal	0(,%r11,8), %edi
	movl	%edx, 40(%rsp)
	movl	%edi, %edx
	movl	%eax, 64(%rsp)
	leaq	-40(%r14), %rax
	subl	%r11d, %edx
	movl	%edi, 56(%rsp)
	addl	%r11d, %edi
	movq	%rax, 8(%rsp)
	movslq	%r10d, %rax
	movl	%edi, 96(%rsp)
	movl	%r8d, %edi
	movl	%r9d, %r8d
	movl	%ecx, 48(%rsp)
	movl	%edx, 60(%rsp)
	movq	%rax, 88(%rsp)
	jmp	.L43
	.p2align 4,,10
	.p2align 3
.L2:
	addq	$4, 8(%rsp)
	movq	8(%rsp), %rax
	movl	68(%rsp), %edx
	addl	%edx, 64(%rsp)
	cmpq	%rax, %r14
	je	.L62
.L43:
	movq	8(%rsp), %rax
	movl	(%rax), %edx
	testl	%edx, %edx
	jne	.L2
	movslq	68(%rsp), %rdx
	movl	64(%rsp), %ecx
	movl	$-4, %r15d
	movl	$1, (%rax)
	leaq	table(%rip), %r12
	leaq	num(%rip), %r9
	subl	%edx, %r15d
	movl	%ecx, 24(%rsp)
	leal	(%r15,%rcx), %eax
	movslq	28(%rsp), %rcx
	cltq
	leaq	(%rax,%rax,4), %rax
	movq	%rcx, 80(%rsp)
	leaq	(%rdx,%rax,2), %rax
	movl	%r15d, %edx
	movl	%r11d, %r15d
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %ecx
	jne	.L3
	jmp	.L42
	.p2align 4,,10
	.p2align 3
.L4:
	addq	$4, %r9
	movl	28(%rsp), %ecx
	addl	%ecx, 24(%rsp)
	cmpq	%r9, %r14
	je	.L63
.L3:
	movl	(%r9), %eax
	testl	%eax, %eax
	jne	.L4
	movl	24(%rsp), %ecx
	movq	80(%rsp), %rsi
	movl	$1, (%r9)
	leaq	num(%rip), %r13
	leal	(%rdx,%rcx), %eax
	cltq
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,2), %rax
	addl	$1, (%r12,%rax,4)
	movslq	%r8d, %rax
	movq	%rax, 16(%rsp)
	movl	96(%rsp), %eax
	addl	%edx, %eax
	movl	%eax, 32(%rsp)
	cmpl	$11, %r8d
	je	.L41
	movq	%r9, 72(%rsp)
	movq	88(%rsp), %r9
	jmp	.L5
	.p2align 4,,10
	.p2align 3
.L6:
	addq	$4, %r13
	addl	%r8d, %ecx
	cmpq	%r13, %r14
	je	.L64
.L5:
	movl	0(%r13), %eax
	testl	%eax, %eax
	jne	.L6
	leal	(%rdx,%rcx), %eax
	movq	16(%rsp), %rsi
	movl	%ecx, %ebp
	leaq	num(%rip), %rbx
	cltq
	movl	$1, 0(%r13)
	leaq	(%rax,%rax,4), %rax
	leaq	(%rsi,%rax,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %r10d
	jne	.L7
	jmp	.L40
	.p2align 4,,10
	.p2align 3
.L8:
	addq	$4, %rbx
	addl	%r10d, %ebp
	cmpq	%rbx, %r14
	je	.L40
.L7:
	movl	(%rbx), %eax
	testl	%eax, %eax
	jne	.L8
	leal	(%rdx,%rbp), %esi
	movl	$1, (%rbx)
	movslq	%esi, %rax
	leaq	(%rax,%rax,4), %rax
	addq	%rax, %rax
	leaq	(%rax,%r9), %r11
	addl	$1, (%r12,%r11,4)
	cmpl	$11, %r15d
	je	.L38
	leaq	num(%rip), %r11
	movl	(%r11), %r11d
	testl	%r11d, %r11d
	je	.L65
.L10:
	movl	4+num(%rip), %esi
	testl	%esi, %esi
	je	.L66
.L13:
	movl	8+num(%rip), %eax
	testl	%eax, %eax
	je	.L67
.L16:
	movl	12+num(%rip), %eax
	testl	%eax, %eax
	je	.L68
.L19:
	movl	16+num(%rip), %eax
	testl	%eax, %eax
	je	.L69
.L22:
	movl	20+num(%rip), %eax
	testl	%eax, %eax
	je	.L70
.L25:
	movl	24+num(%rip), %eax
	testl	%eax, %eax
	je	.L71
.L28:
	movl	28+num(%rip), %r11d
	testl	%r11d, %r11d
	je	.L72
.L31:
	movl	32+num(%rip), %esi
	testl	%esi, %esi
	je	.L73
.L34:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	je	.L74
.L38:
	movl	$0, (%rbx)
	addq	$4, %rbx
	addl	%r10d, %ebp
	cmpq	%rbx, %r14
	jne	.L7
.L40:
	movl	$0, 0(%r13)
	addq	$4, %r13
	addl	%r8d, %ecx
	cmpq	%r13, %r14
	jne	.L5
.L64:
	movq	72(%rsp), %r9
.L41:
	movl	$0, (%r9)
	jmp	.L4
	.p2align 4,,10
	.p2align 3
.L74:
	movl	$1, 36+num(%rip)
	movl	32(%rsp), %eax
	leal	(%rax,%rbp), %esi
	movslq	%r15d, %rax
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L39
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L39:
	movl	$0, 36+num(%rip)
	jmp	.L38
	.p2align 4,,10
	.p2align 3
.L73:
	movl	$1, 32+num(%rip)
	movl	56(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L36
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L36:
	movl	$0, 32+num(%rip)
	jmp	.L34
	.p2align 4,,10
	.p2align 3
.L72:
	movl	$1, 28+num(%rip)
	movl	60(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L33
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L33:
	movl	$0, 28+num(%rip)
	jmp	.L31
	.p2align 4,,10
	.p2align 3
.L71:
	movl	$1, 24+num(%rip)
	movl	52(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L30
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L30:
	movl	$0, 24+num(%rip)
	jmp	.L28
	.p2align 4,,10
	.p2align 3
.L70:
	movl	$1, 20+num(%rip)
	movl	48(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L27
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L27:
	movl	$0, 20+num(%rip)
	jmp	.L25
	.p2align 4,,10
	.p2align 3
.L69:
	movl	$1, 16+num(%rip)
	movl	40(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L24
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L24:
	movl	$0, 16+num(%rip)
	jmp	.L22
	.p2align 4,,10
	.p2align 3
.L68:
	movl	$1, 12+num(%rip)
	movl	44(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L21
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L21:
	movl	$0, 12+num(%rip)
	jmp	.L19
	.p2align 4,,10
	.p2align 3
.L67:
	movl	$1, 8+num(%rip)
	movl	36(%rsp), %eax
	leal	(%rax,%rdx), %esi
	movslq	%r15d, %rax
	addl	%ebp, %esi
	movslq	%esi, %r11
	leaq	(%r11,%r11,4), %r11
	leaq	(%rax,%r11,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L18
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L18:
	movl	$0, 8+num(%rip)
	jmp	.L16
	.p2align 4,,10
	.p2align 3
.L66:
	movl	$1, 4+num(%rip)
	movslq	%ebp, %rsi
	movslq	%r15d, %rax
	leaq	(%rsi,%rsi,4), %rsi
	leaq	(%rax,%rsi,2), %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L15
	movl	%ebp, %esi
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L15:
	movl	$0, 4+num(%rip)
	jmp	.L13
	.p2align 4,,10
	.p2align 3
.L65:
	movl	$1, num(%rip)
	movslq	%r15d, %r11
	addq	%r11, %rax
	addl	$1, (%r12,%rax,4)
	cmpl	$11, %edi
	je	.L12
	movq	%r9, 120(%rsp)
	movl	%ecx, 116(%rsp)
	movl	%edx, 112(%rsp)
	movl	%r8d, 108(%rsp)
	movl	%r10d, 104(%rsp)
	movl	%edi, 100(%rsp)
	call	combination.part.0
	movl	100(%rsp), %edi
	movl	104(%rsp), %r10d
	movl	108(%rsp), %r8d
	movl	112(%rsp), %edx
	movl	116(%rsp), %ecx
	movq	120(%rsp), %r9
.L12:
	movl	$0, num(%rip)
	jmp	.L10
.L63:
	movl	%r15d, %r11d
.L42:
	movq	8(%rsp), %rax
	movl	$0, (%rax)
	jmp	.L2
.L62:
	addq	$136, %rsp
	.cfi_def_cfa_offset 56
	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	combination.part.0, .-combination.part.0
	.p2align 4
	.globl	combination
	.type	combination, @function
combination:
.LFB35:
	.cfi_startproc
	endbr64
	pushq	%r12
	.cfi_def_cfa_offset 16
	.cfi_offset 12, -16
	pushq	%rbp
	.cfi_def_cfa_offset 24
	.cfi_offset 6, -24
	pushq	%rbx
	.cfi_def_cfa_offset 32
	.cfi_offset 3, -32
	movslq	%edi, %rbx
	cmpl	$11, %ebx
	je	.L75
	movl	%esi, %ebp
	leal	1(%rbx), %r12d
	cmpl	$10, %ebx
	je	.L77
	movl	num(%rip), %r8d
	testl	%r8d, %r8d
	je	.L102
	movl	4+num(%rip), %edi
	testl	%edi, %edi
	je	.L103
.L79:
	movl	8+num(%rip), %esi
	testl	%esi, %esi
	je	.L104
.L80:
	movl	12+num(%rip), %ecx
	testl	%ecx, %ecx
	je	.L105
.L81:
	movl	16+num(%rip), %edx
	testl	%edx, %edx
	je	.L106
.L82:
	movl	20+num(%rip), %eax
	testl	%eax, %eax
	je	.L107
.L83:
	movl	24+num(%rip), %eax
	testl	%eax, %eax
	je	.L108
.L84:
	movl	28+num(%rip), %eax
	testl	%eax, %eax
	je	.L109
.L85:
	movl	32+num(%rip), %eax
	testl	%eax, %eax
	je	.L110
.L86:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	je	.L111
.L75:
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L111:
	.cfi_restore_state
	leal	(%rbx,%rbx,8), %esi
	movl	%r12d, %edi
	leaq	table(%rip), %rax
	movl	$1, 36+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rdx
	leaq	(%rdx,%rdx,4), %rdx
	leaq	(%rbx,%rdx,2), %rdx
	addl	$1, (%rax,%rdx,4)
	call	combination.part.0
	popq	%rbx
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	popq	%rbp
	.cfi_def_cfa_offset 16
	movl	$0, 36+num(%rip)
	popq	%r12
	.cfi_def_cfa_offset 8
	ret
	.p2align 4,,10
	.p2align 3
.L110:
	.cfi_restore_state
	leal	0(%rbp,%rbx,8), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 32+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	36+num(%rip), %eax
	movl	$0, 32+num(%rip)
	testl	%eax, %eax
	jne	.L75
	jmp	.L111
	.p2align 4,,10
	.p2align 3
.L109:
	leal	0(,%rbx,8), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 28+num(%rip)
	subl	%ebx, %esi
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	32+num(%rip), %eax
	movl	$0, 28+num(%rip)
	testl	%eax, %eax
	jne	.L86
	jmp	.L110
	.p2align 4,,10
	.p2align 3
.L108:
	leal	(%rbx,%rbx,2), %eax
	movl	%r12d, %edi
	leaq	table(%rip), %rdx
	movl	$1, 24+num(%rip)
	leal	0(%rbp,%rax,2), %esi
	movslq	%ebx, %rax
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	28+num(%rip), %eax
	movl	$0, 24+num(%rip)
	testl	%eax, %eax
	jne	.L85
	jmp	.L109
	.p2align 4,,10
	.p2align 3
.L107:
	leal	(%rbx,%rbx,4), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 20+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	24+num(%rip), %eax
	movl	$0, 20+num(%rip)
	testl	%eax, %eax
	jne	.L84
	jmp	.L108
	.p2align 4,,10
	.p2align 3
.L106:
	leal	0(%rbp,%rbx,4), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 16+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	20+num(%rip), %eax
	movl	$0, 16+num(%rip)
	testl	%eax, %eax
	jne	.L83
	jmp	.L107
	.p2align 4,,10
	.p2align 3
.L105:
	leal	(%rbx,%rbx,2), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 12+num(%rip)
	addl	%ebp, %esi
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	16+num(%rip), %edx
	movl	$0, 12+num(%rip)
	testl	%edx, %edx
	jne	.L82
	jmp	.L106
	.p2align 4,,10
	.p2align 3
.L104:
	leal	0(%rbp,%rbx,2), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 8+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	12+num(%rip), %ecx
	movl	$0, 8+num(%rip)
	testl	%ecx, %ecx
	jne	.L81
	jmp	.L105
	.p2align 4,,10
	.p2align 3
.L103:
	leal	(%rbx,%rbp), %esi
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, 4+num(%rip)
	movslq	%esi, %rcx
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	8+num(%rip), %esi
	movl	$0, 4+num(%rip)
	testl	%esi, %esi
	jne	.L80
	jmp	.L104
	.p2align 4,,10
	.p2align 3
.L102:
	movslq	%esi, %rcx
	movslq	%ebx, %rax
	leaq	table(%rip), %rdx
	movl	%r12d, %edi
	movl	$1, num(%rip)
	leaq	(%rcx,%rcx,4), %rcx
	leaq	(%rax,%rcx,2), %rax
	addl	$1, (%rdx,%rax,4)
	call	combination.part.0
	movl	4+num(%rip), %edi
	movl	$0, num(%rip)
	testl	%edi, %edi
	jne	.L79
	jmp	.L103
	.p2align 4,,10
	.p2align 3
.L77:
	movl	num(%rip), %ebx
	testl	%ebx, %ebx
	je	.L112
.L88:
	movl	4+num(%rip), %r11d
	testl	%r11d, %r11d
	je	.L113
.L89:
	movl	8+num(%rip), %r10d
	testl	%r10d, %r10d
	je	.L114
.L90:
	movl	12+num(%rip), %r9d
	testl	%r9d, %r9d
	je	.L115
.L91:
	movl	16+num(%rip), %r8d
	testl	%r8d, %r8d
	je	.L116
.L92:
	movl	20+num(%rip), %edi
	testl	%edi, %edi
	je	.L117
.L93:
	movl	24+num(%rip), %esi
	testl	%esi, %esi
	je	.L118
.L94:
	movl	28+num(%rip), %ecx
	testl	%ecx, %ecx
	je	.L119
.L95:
	movl	32+num(%rip), %edx
	testl	%edx, %edx
	je	.L120
.L96:
	movl	36+num(%rip), %eax
	testl	%eax, %eax
	jne	.L75
	leal	90(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L75
.L112:
	movslq	%esi, %rdx
	leaq	table(%rip), %rax
	leaq	5(%rdx,%rdx,4), %rdx
	addl	$1, (%rax,%rdx,8)
	jmp	.L88
.L120:
	leal	80(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L96
.L119:
	leal	70(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L95
.L118:
	leal	60(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L94
.L117:
	leal	50(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L93
.L116:
	leal	40(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L92
.L115:
	leal	30(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L91
.L114:
	leal	20(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L90
.L113:
	leal	10(%rbp), %eax
	leaq	table(%rip), %rdx
	cltq
	leaq	5(%rax,%rax,4), %rax
	addl	$1, (%rdx,%rax,8)
	jmp	.L89
	.cfi_endproc
.LFE35:
	.size	combination, .-combination
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"0"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%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
	xorl	%esi, %esi
	movl	$1, %edi
	leaq	table(%rip), %r15
	pushq	%r14
	.cfi_def_cfa_offset 24
	.cfi_offset 14, -24
	leaq	.LC1(%rip), %r14
	pushq	%r13
	.cfi_def_cfa_offset 32
	.cfi_offset 13, -32
	leaq	.LC0(%rip), %r13
	pushq	%r12
	.cfi_def_cfa_offset 40
	.cfi_offset 12, -40
	leaq	s(%rip), %r12
	pushq	%rbp
	.cfi_def_cfa_offset 48
	.cfi_offset 6, -48
	leaq	n(%rip), %rbp
	pushq	%rbx
	.cfi_def_cfa_offset 56
	.cfi_offset 3, -56
	leaq	.LC2(%rip), %rbx
	subq	$8, %rsp
	.cfi_def_cfa_offset 64
	call	combination.part.0
	.p2align 4,,10
	.p2align 3
.L122:
	xorl	%eax, %eax
	movq	%r12, %rdx
	movq	%rbp, %rsi
	movq	%rbx, %rdi
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	je	.L128
	movslq	s(%rip), %rax
	cmpl	$330, %eax
	jg	.L123
	movslq	n(%rip), %rdx
	cmpl	$10, %edx
	jg	.L123
	leaq	(%rax,%rax,4), %rax
	movq	%r14, %rsi
	movl	$1, %edi
	leaq	(%rdx,%rax,2), %rax
	movl	(%r15,%rax,4), %edx
	xorl	%eax, %eax
	call	__printf_chk@PLT
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L123:
	movq	%r13, %rdi
	call	puts@PLT
	jmp	.L122
	.p2align 4,,10
	.p2align 3
.L128:
	addq	$8, %rsp
	.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
	.cfi_endproc
.LFE36:
	.size	main, .-main
	.globl	table
	.bss
	.align 32
	.type	table, @object
	.size	table, 13240
table:
	.zero	13240
	.globl	num
	.align 32
	.type	num, @object
	.size	num, 40
num:
	.zero	40
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	no
	.align 4
	.type	no, @object
	.size	no, 4
no:
	.zero	4
	.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 Volume 0 Problem 0070

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

#define MAX_SUM (2*1 + 3*2 + 4*3 + 5*4 +6*5 + 7*6 + 8*7 + 9*8 + 10*9)

int no;
int n, s;
int num[10];
int table[MAX_SUM + 1][10];

void combination(int depth, int sum)
{
	int i;
	int s;
	
	if (depth == 11){
		return;
	}

	for (i = 0; i <= 9; i++){
		if (num[i] == 0){
           	num[i] = 1;
			s = sum + i * depth;
			
			table[s][depth]++;
		    combination(depth + 1, s);
		    num[i] = 0;
		}
	}
}

int main(void)
{
	combination(1, 0);
	
	while (scanf("%d%d", &n, &s) != EOF){
		if (s > 330 || n > 10){
			printf("0\n");
			continue;
		}
		printf("%d\n", table[s][n]);
	}
	
	return (0);
}
4 10
3 1
 6 10
3 1
 2 14
3 1
 2 25
10 0
 2 4
10 0
 3 10
0 1
 3 14
10 3
 3 10
2 1
 2 9
3 1
 2 14
2 1

1
0
 0
0
 5
0
 2
0
 3
0
 8
0
 14
0
 8
1
 4
0
 5
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 Volume 0 Problem 0070

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

#define MAX_SUM (2*1 + 3*2 + 4*3 + 5*4 +6*5 + 7*6 + 8*7 + 9*8 + 10*9)

int no;
int n, s;
int num[10];
int table[MAX_SUM + 1][10];

void combination(int depth, int sum)
{
	int i;
	int s;
	
	if (depth == 11){
		return;
	}

	for (i = 0; i <= 9; i++){
		if (num[i] == 0){
           	num[i] = 1;
			s = sum + i * depth;
			
			table[s][depth]++;
		    combination(depth + 1, s);
		    num[i] = 0;
		}
	}
}

int main(void)
{
	combination(1, 0);
	
	while (scanf("%d%d", &n, &s) != EOF){
		if (s > 330 || n > 10){
			printf("0\n");
			continue;
		}
		printf("%d\n", table[s][n]);
	}
	
	return (0);
}```

Unoptimized Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.globl	no
	.bss
	.align 4
	.type	no, @object
	.size	no, 4
no:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	num
	.align 32
	.type	num, @object
	.size	num, 40
num:
	.zero	40
	.globl	table
	.align 32
	.type	table, @object
	.size	table, 13240
table:
	.zero	13240
	.text
	.globl	combination
	.type	combination, @function
combination:
.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	$11, -20(%rbp)
	je	.L7
	movl	$0, -8(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-8(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	combination
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$0, (%rdx,%rax)
.L5:
	addl	$1, -8(%rbp)
.L4:
	cmpl	$9, -8(%rbp)
	jle	.L6
	jmp	.L1
.L7:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	combination, .-combination
	.section	.rodata
.LC0:
	.string	"0"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%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
	movl	$0, %esi
	movl	$1, %edi
	call	combination
	jmp	.L9
.L12:
	movl	s(%rip), %eax
	cmpl	$330, %eax
	jg	.L10
	movl	n(%rip), %eax
	cmpl	$10, %eax
	jle	.L11
.L10:
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L11:
	movl	s(%rip), %eax
	movl	n(%rip), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L9:
	leaq	s(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L12
	movl	$0, %eax
	popq	%rbp
	.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	no
	.bss
	.align 4
	.type	no, @object
	.size	no, 4
no:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	num
	.align 32
	.type	num, @object
	.size	num, 40
num:
	.zero	40
	.globl	table
	.align 32
	.type	table, @object
	.size	table, 13240
table:
	.zero	13240
	.text
	.globl	combination
	.type	combination, @function
combination:
.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	$11, -20(%rbp)
	je	.L7
	movl	$0, -8(%rbp)
	jmp	.L4
.L6:
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	(%rdx,%rax), %eax
	testl	%eax, %eax
	jne	.L5
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$1, (%rdx,%rax)
	movl	-8(%rbp), %eax
	imull	-20(%rbp), %eax
	movl	%eax, %edx
	movl	-24(%rbp), %eax
	addl	%edx, %eax
	movl	%eax, -4(%rbp)
	movl	-20(%rbp), %eax
	movslq	%eax, %rcx
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	leal	1(%rax), %ecx
	movl	-20(%rbp), %eax
	movslq	%eax, %rsi
	movl	-4(%rbp), %eax
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rsi, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	%ecx, (%rdx,%rax)
	movl	-20(%rbp), %eax
	leal	1(%rax), %edx
	movl	-4(%rbp), %eax
	movl	%eax, %esi
	movl	%edx, %edi
	call	combination
	movl	-8(%rbp), %eax
	cltq
	leaq	0(,%rax,4), %rdx
	leaq	num(%rip), %rax
	movl	$0, (%rdx,%rax)
.L5:
	addl	$1, -8(%rbp)
.L4:
	cmpl	$9, -8(%rbp)
	jle	.L6
	jmp	.L1
.L7:
	nop
.L1:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	combination, .-combination
	.section	.rodata
.LC0:
	.string	"0"
.LC1:
	.string	"%d\n"
.LC2:
	.string	"%d%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
	movl	$0, %esi
	movl	$1, %edi
	call	combination
	jmp	.L9
.L12:
	movl	s(%rip), %eax
	cmpl	$330, %eax
	jg	.L10
	movl	n(%rip), %eax
	cmpl	$10, %eax
	jle	.L11
.L10:
	leaq	.LC0(%rip), %rax
	movq	%rax, %rdi
	call	puts@PLT
	jmp	.L9
.L11:
	movl	s(%rip), %eax
	movl	n(%rip), %edx
	movslq	%edx, %rcx
	movslq	%eax, %rdx
	movq	%rdx, %rax
	salq	$2, %rax
	addq	%rdx, %rax
	addq	%rax, %rax
	addq	%rcx, %rax
	leaq	0(,%rax,4), %rdx
	leaq	table(%rip), %rax
	movl	(%rdx,%rax), %eax
	movl	%eax, %esi
	leaq	.LC1(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	printf@PLT
.L9:
	leaq	s(%rip), %rax
	movq	%rax, %rdx
	leaq	n(%rip), %rax
	movq	%rax, %rsi
	leaq	.LC2(%rip), %rax
	movq	%rax, %rdi
	movl	$0, %eax
	call	__isoc99_scanf@PLT
	cmpl	$-1, %eax
	jne	.L12
	movl	$0, %eax
	popq	%rbp
	.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:
