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

```c
#include<stdio.h>

#define MOD 1000000007

long mod_multi(long a,long b){
    long long int ret;
    ret = a*b;
    if(ret>MOD)ret %= MOD;
    return ret;
}

int main(void){
    int n;
    scanf("%d",&n);
    char str[n+1];
    scanf("%s",str);
    long ans = 1;
    int cc[26] = {};
    for(int i = 0;i < n;i++)cc[str[i]-'a']++;
    for(int i = 0;i < 26;i++)ans = mod_multi(ans,cc[i]+1);
    printf("%ld",ans-1);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mod_multi
	.type	mod_multi, @function
mod_multi:
.LFB23:
	.cfi_startproc
	endbr64
	imulq	%rsi, %rdi
	movq	%rdi, %r8
	cmpq	$1000000007, %rdi
	jle	.L1
	movabsq	$-8543223828751151131, %rdx
	movq	%rdi, %rax
	imulq	%rdx
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r8
.L1:
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mod_multi, .-mod_multi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-116(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-116(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rcx
	andq	$-16, %rdx
	cmpq	%rcx, %rsp
	je	.L6
.L19:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L19
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L20
.L7:
	movq	%rsp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rsi
	movl	$13, %ecx
	xorl	%eax, %eax
	movq	%rsi, %rdi
	rep stosq
	movslq	-116(%rbp), %rcx
	testl	%ecx, %ecx
	jle	.L8
	movq	%rsp, %rdx
	addq	%rsp, %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, -112(%rbp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L9
.L8:
	movq	%rsi, %rdi
	movl	$1, %ecx
	leaq	-8(%rbp), %rsi
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%rdi), %eax
	addl	$1, %eax
	cltq
	imulq	%rax, %rcx
	cmpq	$1000000007, %rcx
	jle	.L10
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
.L10:
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	.L11
	xorl	%eax, %eax
	leaq	-1(%rcx), %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	xorl	%eax, %eax
	ret
.L20:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

user
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mod_multi
	.type	mod_multi, @function
mod_multi:
.LFB23:
	.cfi_startproc
	endbr64
	imulq	%rsi, %rdi
	movq	%rdi, %r8
	cmpq	$1000000007, %rdi
	jle	.L1
	movabsq	$-8543223828751151131, %rdx
	movq	%rdi, %rax
	imulq	%rdx
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r8
.L1:
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mod_multi, .-mod_multi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-116(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-116(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rcx
	andq	$-16, %rdx
	cmpq	%rcx, %rsp
	je	.L6
.L19:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L19
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L20
.L7:
	movq	%rsp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rsi
	movl	$13, %ecx
	xorl	%eax, %eax
	movq	%rsi, %rdi
	rep stosq
	movslq	-116(%rbp), %rcx
	testl	%ecx, %ecx
	jle	.L8
	movq	%rsp, %rdx
	addq	%rsp, %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, -112(%rbp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L9
.L8:
	movq	%rsi, %rdi
	movl	$1, %ecx
	leaq	-8(%rbp), %rsi
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%rdi), %eax
	addl	$1, %eax
	cltq
	imulq	%rax, %rcx
	cmpq	$1000000007, %rcx
	jle	.L10
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
.L10:
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	.L11
	xorl	%eax, %eax
	leaq	-1(%rcx), %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	xorl	%eax, %eax
	ret
.L20:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mod_multi
	.type	mod_multi, @function
mod_multi:
.LFB23:
	.cfi_startproc
	endbr64
	imulq	%rsi, %rdi
	movq	%rdi, %r8
	cmpq	$1000000007, %rdi
	jle	.L1
	movabsq	$-8543223828751151131, %rdx
	movq	%rdi, %rax
	imulq	%rdx
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r8
.L1:
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mod_multi, .-mod_multi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-116(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-116(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rcx
	andq	$-16, %rdx
	cmpq	%rcx, %rsp
	je	.L6
.L19:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L19
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L20
.L7:
	movq	%rsp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rsi
	movl	$13, %ecx
	xorl	%eax, %eax
	movq	%rsi, %rdi
	rep stosq
	movslq	-116(%rbp), %rcx
	testl	%ecx, %ecx
	jle	.L8
	movq	%rsp, %rdx
	addq	%rsp, %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, -112(%rbp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L9
.L8:
	movq	%rsi, %rdi
	movl	$1, %ecx
	leaq	-8(%rbp), %rsi
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%rdi), %eax
	addl	$1, %eax
	cltq
	imulq	%rax, %rcx
	cmpq	$1000000007, %rcx
	jle	.L10
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
.L10:
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	.L11
	xorl	%eax, %eax
	leaq	-1(%rcx), %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	xorl	%eax, %eax
	ret
.L20:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include<stdio.h>

#define MOD 1000000007

long mod_multi(long a,long b){
    long long int ret;
    ret = a*b;
    if(ret>MOD)ret %= MOD;
    return ret;
}

int main(void){
    int n;
    scanf("%d",&n);
    char str[n+1];
    scanf("%s",str);
    long ans = 1;
    int cc[26] = {};
    for(int i = 0;i < n;i++)cc[str[i]-'a']++;
    for(int i = 0;i < 26;i++)ans = mod_multi(ans,cc[i]+1);
    printf("%ld",ans-1);
    return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

#define MOD 1000000007

long mod_multi(long a,long b){
    long long int ret;
    ret = a*b;
    if(ret>MOD)ret %= MOD;
    return ret;
}

int main(void){
    int n;
    scanf("%d",&n);
    char str[n+1];
    scanf("%s",str);
    long ans = 1;
    int cc[26] = {};
    for(int i = 0;i < n;i++)cc[str[i]-'a']++;
    for(int i = 0;i < 26;i++)ans = mod_multi(ans,cc[i]+1);
    printf("%ld",ans-1);
    return 0;
}```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

3
aab
 4
dcba
 4
bbcd
 3
bac
 5
bbbba
 5
aabbc
 3
aaa
 4
adda
 5
abcda
 4
bbbb

5 15 11 7 9 17 3 8 23 4
Given the following C code and assembly code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>

#define MOD 1000000007

long mod_multi(long a,long b){
    long long int ret;
    ret = a*b;
    if(ret>MOD)ret %= MOD;
    return ret;
}

int main(void){
    int n;
    scanf("%d",&n);
    char str[n+1];
    scanf("%s",str);
    long ans = 1;
    int cc[26] = {};
    for(int i = 0;i < n;i++)cc[str[i]-'a']++;
    for(int i = 0;i < 26;i++)ans = mod_multi(ans,cc[i]+1);
    printf("%ld",ans-1);
    return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mod_multi
	.type	mod_multi, @function
mod_multi:
.LFB23:
	.cfi_startproc
	endbr64
	imulq	%rsi, %rdi
	movq	%rdi, %r8
	cmpq	$1000000007, %rdi
	jle	.L1
	movabsq	$-8543223828751151131, %rdx
	movq	%rdi, %rax
	imulq	%rdx
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r8
.L1:
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mod_multi, .-mod_multi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-116(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-116(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rcx
	andq	$-16, %rdx
	cmpq	%rcx, %rsp
	je	.L6
.L19:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L19
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L20
.L7:
	movq	%rsp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rsi
	movl	$13, %ecx
	xorl	%eax, %eax
	movq	%rsi, %rdi
	rep stosq
	movslq	-116(%rbp), %rcx
	testl	%ecx, %ecx
	jle	.L8
	movq	%rsp, %rdx
	addq	%rsp, %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, -112(%rbp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L9
.L8:
	movq	%rsi, %rdi
	movl	$1, %ecx
	leaq	-8(%rbp), %rsi
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%rdi), %eax
	addl	$1, %eax
	cltq
	imulq	%rax, %rcx
	cmpq	$1000000007, %rcx
	jle	.L10
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
.L10:
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	.L11
	xorl	%eax, %eax
	leaq	-1(%rcx), %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	xorl	%eax, %eax
	ret
.L20:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

Only output the optimized assembly code. Do not include any other text. Do not write any comments in the assembly code. Wrap the assembly code in ```assembly``` tags.
Optimized Assembly Code:

train
```assembly
	.file	"temp.c"
	.text
	.p2align 4
	.globl	mod_multi
	.type	mod_multi, @function
mod_multi:
.LFB23:
	.cfi_startproc
	endbr64
	imulq	%rsi, %rdi
	movq	%rdi, %r8
	cmpq	$1000000007, %rdi
	jle	.L1
	movabsq	$-8543223828751151131, %rdx
	movq	%rdi, %rax
	imulq	%rdx
	movq	%rdi, %rax
	sarq	$63, %rax
	addq	%rdi, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %r8
.L1:
	movq	%r8, %rax
	ret
	.cfi_endproc
.LFE23:
	.size	mod_multi, .-mod_multi
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%d"
.LC1:
	.string	"%s"
.LC2:
	.string	"%ld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB24:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	movq	%rsp, %rbp
	.cfi_def_cfa_register 6
	addq	$-128, %rsp
	movq	%fs:40, %rax
	movq	%rax, -8(%rbp)
	xorl	%eax, %eax
	leaq	-116(%rbp), %rsi
	call	__isoc99_scanf@PLT
	movl	-116(%rbp), %eax
	movq	%rsp, %rcx
	addl	$1, %eax
	cltq
	addq	$15, %rax
	movq	%rax, %rdx
	andq	$-4096, %rax
	subq	%rax, %rcx
	andq	$-16, %rdx
	cmpq	%rcx, %rsp
	je	.L6
.L19:
	subq	$4096, %rsp
	orq	$0, 4088(%rsp)
	cmpq	%rcx, %rsp
	jne	.L19
.L6:
	andl	$4095, %edx
	subq	%rdx, %rsp
	testq	%rdx, %rdx
	jne	.L20
.L7:
	movq	%rsp, %rsi
	leaq	.LC1(%rip), %rdi
	xorl	%eax, %eax
	call	__isoc99_scanf@PLT
	leaq	-112(%rbp), %rsi
	movl	$13, %ecx
	xorl	%eax, %eax
	movq	%rsi, %rdi
	rep stosq
	movslq	-116(%rbp), %rcx
	testl	%ecx, %ecx
	jle	.L8
	movq	%rsp, %rdx
	addq	%rsp, %rcx
	.p2align 4,,10
	.p2align 3
.L9:
	movsbl	(%rdx), %eax
	addq	$1, %rdx
	subl	$97, %eax
	cltq
	addl	$1, -112(%rbp,%rax,4)
	cmpq	%rdx, %rcx
	jne	.L9
.L8:
	movq	%rsi, %rdi
	movl	$1, %ecx
	leaq	-8(%rbp), %rsi
	movabsq	$-8543223828751151131, %r8
	.p2align 4,,10
	.p2align 3
.L11:
	movl	(%rdi), %eax
	addl	$1, %eax
	cltq
	imulq	%rax, %rcx
	cmpq	$1000000007, %rcx
	jle	.L10
	movq	%rcx, %rax
	imulq	%r8
	movq	%rcx, %rax
	sarq	$63, %rax
	addq	%rcx, %rdx
	sarq	$29, %rdx
	subq	%rax, %rdx
	imulq	$1000000007, %rdx, %rdx
	subq	%rdx, %rcx
.L10:
	addq	$4, %rdi
	cmpq	%rdi, %rsi
	jne	.L11
	xorl	%eax, %eax
	leaq	-1(%rcx), %rdx
	movl	$1, %edi
	leaq	.LC2(%rip), %rsi
	call	__printf_chk@PLT
	movq	-8(%rbp), %rax
	subq	%fs:40, %rax
	jne	.L21
	leave
	.cfi_remember_state
	.cfi_def_cfa 7, 8
	xorl	%eax, %eax
	ret
.L20:
	.cfi_restore_state
	orq	$0, -8(%rsp,%rdx)
	jmp	.L7
.L21:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE24:
	.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:
```