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>
int main()
{
	int i=0;
	long long int n;
	char s[12]={};

	scanf("%lld",&n);

	while(1){
		if(!n){
			break;
		}
		s[i++]='a'+(n-1)%26;
		n=(n-1)/26;
	}
	while(i--)
		printf("%c",s[i]);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	movl	$0, 20(%rsp)
	movq	$0, 12(%rsp)
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	testq	%rcx, %rcx
	je	.L5
	movabsq	$5675921253449092805, %rsi
	subq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 12(%rsp)
	testq	%rax, %rax
	je	.L7
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 13(%rsp)
	testq	%rax, %rax
	je	.L8
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 14(%rsp)
	testq	%rax, %rax
	je	.L9
	subq	$1, %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 15(%rsp)
	testq	%rax, %rax
	je	.L10
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 16(%rsp)
	testq	%rax, %rax
	je	.L11
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 17(%rsp)
	testq	%rax, %rax
	je	.L12
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 18(%rsp)
	testq	%rax, %rax
	je	.L13
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 19(%rsp)
	testq	%rax, %rax
	je	.L14
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 20(%rsp)
	testq	%rax, %rax
	je	.L15
	leaq	-1(%rax), %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 21(%rsp)
	testq	%rax, %rax
	je	.L16
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 22(%rsp)
	testq	%rax, %rax
	je	.L17
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 23(%rsp)
	movl	$11, %edx
.L4:
	movq	%rax, (%rsp)
	movslq	%edx, %rax
	leaq	11(%rsp), %rbp
	leaq	12(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	subq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L3
.L5:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L4
.L7:
	xorl	%edx, %edx
	jmp	.L4
.L8:
	movl	$1, %edx
	jmp	.L4
.L9:
	movl	$2, %edx
	jmp	.L4
.L10:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$5, %edx
	jmp	.L4
.L13:
	movl	$6, %edx
	jmp	.L4
.L14:
	movl	$7, %edx
	jmp	.L4
.L15:
	movl	$8, %edx
	jmp	.L4
.L16:
	movl	$9, %edx
	jmp	.L4
.L17:
	movl	$10, %edx
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

user
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	movl	$0, 20(%rsp)
	movq	$0, 12(%rsp)
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	testq	%rcx, %rcx
	je	.L5
	movabsq	$5675921253449092805, %rsi
	subq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 12(%rsp)
	testq	%rax, %rax
	je	.L7
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 13(%rsp)
	testq	%rax, %rax
	je	.L8
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 14(%rsp)
	testq	%rax, %rax
	je	.L9
	subq	$1, %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 15(%rsp)
	testq	%rax, %rax
	je	.L10
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 16(%rsp)
	testq	%rax, %rax
	je	.L11
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 17(%rsp)
	testq	%rax, %rax
	je	.L12
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 18(%rsp)
	testq	%rax, %rax
	je	.L13
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 19(%rsp)
	testq	%rax, %rax
	je	.L14
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 20(%rsp)
	testq	%rax, %rax
	je	.L15
	leaq	-1(%rax), %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 21(%rsp)
	testq	%rax, %rax
	je	.L16
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 22(%rsp)
	testq	%rax, %rax
	je	.L17
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 23(%rsp)
	movl	$11, %edx
.L4:
	movq	%rax, (%rsp)
	movslq	%edx, %rax
	leaq	11(%rsp), %rbp
	leaq	12(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	subq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L3
.L5:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L4
.L7:
	xorl	%edx, %edx
	jmp	.L4
.L8:
	movl	$1, %edx
	jmp	.L4
.L9:
	movl	$2, %edx
	jmp	.L4
.L10:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$5, %edx
	jmp	.L4
.L13:
	movl	$6, %edx
	jmp	.L4
.L14:
	movl	$7, %edx
	jmp	.L4
.L15:
	movl	$8, %edx
	jmp	.L4
.L16:
	movl	$9, %edx
	jmp	.L4
.L17:
	movl	$10, %edx
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
rule
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	movl	$0, 20(%rsp)
	movq	$0, 12(%rsp)
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	testq	%rcx, %rcx
	je	.L5
	movabsq	$5675921253449092805, %rsi
	subq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 12(%rsp)
	testq	%rax, %rax
	je	.L7
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 13(%rsp)
	testq	%rax, %rax
	je	.L8
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 14(%rsp)
	testq	%rax, %rax
	je	.L9
	subq	$1, %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 15(%rsp)
	testq	%rax, %rax
	je	.L10
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 16(%rsp)
	testq	%rax, %rax
	je	.L11
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 17(%rsp)
	testq	%rax, %rax
	je	.L12
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 18(%rsp)
	testq	%rax, %rax
	je	.L13
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 19(%rsp)
	testq	%rax, %rax
	je	.L14
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 20(%rsp)
	testq	%rax, %rax
	je	.L15
	leaq	-1(%rax), %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 21(%rsp)
	testq	%rax, %rax
	je	.L16
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 22(%rsp)
	testq	%rax, %rax
	je	.L17
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 23(%rsp)
	movl	$11, %edx
.L4:
	movq	%rax, (%rsp)
	movslq	%edx, %rax
	leaq	11(%rsp), %rbp
	leaq	12(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	subq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L3
.L5:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L4
.L7:
	xorl	%edx, %edx
	jmp	.L4
.L8:
	movl	$1, %edx
	jmp	.L4
.L9:
	movl	$2, %edx
	jmp	.L4
.L10:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$5, %edx
	jmp	.L4
.L13:
	movl	$6, %edx
	jmp	.L4
.L14:
	movl	$7, %edx
	jmp	.L4
.L15:
	movl	$8, %edx
	jmp	.L4
.L16:
	movl	$9, %edx
	jmp	.L4
.L17:
	movl	$10, %edx
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```
```c
#include<stdio.h>
int main()
{
	int i=0;
	long long int n;
	char s[12]={};

	scanf("%lld",&n);

	while(1){
		if(!n){
			break;
		}
		s[i++]='a'+(n-1)%26;
		n=(n-1)/26;
	}
	while(i--)
		printf("%c",s[i]);
	return 0;
}```
Given the following C code, your task is to generate highly optimized x86-64 assembly code.
C Code:

```c
#include<stdio.h>
int main()
{
	int i=0;
	long long int n;
	char s[12]={};

	scanf("%lld",&n);

	while(1){
		if(!n){
			break;
		}
		s[i++]='a'+(n-1)%26;
		n=(n-1)/26;
	}
	while(i--)
		printf("%c",s[i]);
	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:

40
 1
 71095103
 51
 50389265
 4
 56744729
 3
 61759127
 6

an a eynzga ay dffxhq d dtdmwo c eecuqa f
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>
int main()
{
	int i=0;
	long long int n;
	char s[12]={};

	scanf("%lld",&n);

	while(1){
		if(!n){
			break;
		}
		s[i++]='a'+(n-1)%26;
		n=(n-1)/26;
	}
	while(i--)
		printf("%c",s[i]);
	return 0;
}```

Assembly Code:

```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	movl	$0, 20(%rsp)
	movq	$0, 12(%rsp)
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	testq	%rcx, %rcx
	je	.L5
	movabsq	$5675921253449092805, %rsi
	subq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 12(%rsp)
	testq	%rax, %rax
	je	.L7
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 13(%rsp)
	testq	%rax, %rax
	je	.L8
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 14(%rsp)
	testq	%rax, %rax
	je	.L9
	subq	$1, %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 15(%rsp)
	testq	%rax, %rax
	je	.L10
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 16(%rsp)
	testq	%rax, %rax
	je	.L11
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 17(%rsp)
	testq	%rax, %rax
	je	.L12
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 18(%rsp)
	testq	%rax, %rax
	je	.L13
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 19(%rsp)
	testq	%rax, %rax
	je	.L14
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 20(%rsp)
	testq	%rax, %rax
	je	.L15
	leaq	-1(%rax), %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 21(%rsp)
	testq	%rax, %rax
	je	.L16
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 22(%rsp)
	testq	%rax, %rax
	je	.L17
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 23(%rsp)
	movl	$11, %edx
.L4:
	movq	%rax, (%rsp)
	movslq	%edx, %rax
	leaq	11(%rsp), %rbp
	leaq	12(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	subq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L3
.L5:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L4
.L7:
	xorl	%edx, %edx
	jmp	.L4
.L8:
	movl	$1, %edx
	jmp	.L4
.L9:
	movl	$2, %edx
	jmp	.L4
.L10:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$5, %edx
	jmp	.L4
.L13:
	movl	$6, %edx
	jmp	.L4
.L14:
	movl	$7, %edx
	jmp	.L4
.L15:
	movl	$8, %edx
	jmp	.L4
.L16:
	movl	$9, %edx
	jmp	.L4
.L17:
	movl	$10, %edx
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```

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

train
```assembly
	.file	"temp.c"
	.text
	.section	.rodata.str1.1,"aMS",@progbits,1
.LC0:
	.string	"%lld"
	.section	.text.startup,"ax",@progbits
	.p2align 4
	.globl	main
	.type	main, @function
main:
.LFB23:
	.cfi_startproc
	endbr64
	pushq	%rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	leaq	.LC0(%rip), %rdi
	pushq	%rbx
	.cfi_def_cfa_offset 24
	.cfi_offset 3, -24
	subq	$40, %rsp
	.cfi_def_cfa_offset 64
	movq	%fs:40, %rax
	movq	%rax, 24(%rsp)
	xorl	%eax, %eax
	movq	%rsp, %rsi
	movl	$0, 20(%rsp)
	movq	$0, 12(%rsp)
	call	__isoc99_scanf@PLT
	movq	(%rsp), %rcx
	testq	%rcx, %rcx
	je	.L5
	movabsq	$5675921253449092805, %rsi
	subq	$1, %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 12(%rsp)
	testq	%rax, %rax
	je	.L7
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 13(%rsp)
	testq	%rax, %rax
	je	.L8
	leaq	-1(%rax), %rcx
	movq	%rcx, %rax
	imulq	%rsi
	movq	%rdx, %rax
	movq	%rcx, %rdx
	sarq	$63, %rdx
	sarq	$3, %rax
	subq	%rdx, %rax
	leaq	(%rax,%rax,2), %rdx
	leaq	(%rax,%rdx,4), %rdx
	addq	%rdx, %rdx
	subq	%rdx, %rcx
	addl	$97, %ecx
	movb	%cl, 14(%rsp)
	testq	%rax, %rax
	je	.L9
	subq	$1, %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 15(%rsp)
	testq	%rax, %rax
	je	.L10
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 16(%rsp)
	testq	%rax, %rax
	je	.L11
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 17(%rsp)
	testq	%rax, %rax
	je	.L12
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 18(%rsp)
	testq	%rax, %rax
	je	.L13
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 19(%rsp)
	testq	%rax, %rax
	je	.L14
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 20(%rsp)
	testq	%rax, %rax
	je	.L15
	leaq	-1(%rax), %rax
	movl	$26, %ecx
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 21(%rsp)
	testq	%rax, %rax
	je	.L16
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 22(%rsp)
	testq	%rax, %rax
	je	.L17
	subq	$1, %rax
	cqto
	idivq	%rcx
	addl	$97, %edx
	movb	%dl, 23(%rsp)
	movl	$11, %edx
.L4:
	movq	%rax, (%rsp)
	movslq	%edx, %rax
	leaq	11(%rsp), %rbp
	leaq	12(%rsp,%rax), %rbx
	.p2align 4,,10
	.p2align 3
.L3:
	movsbl	(%rbx), %edi
	subq	$1, %rbx
	call	putchar@PLT
	cmpq	%rbp, %rbx
	jne	.L3
.L5:
	movq	24(%rsp), %rax
	subq	%fs:40, %rax
	jne	.L22
	addq	$40, %rsp
	.cfi_remember_state
	.cfi_def_cfa_offset 24
	xorl	%eax, %eax
	popq	%rbx
	.cfi_def_cfa_offset 16
	popq	%rbp
	.cfi_def_cfa_offset 8
	ret
.L11:
	.cfi_restore_state
	movl	$4, %edx
	jmp	.L4
.L7:
	xorl	%edx, %edx
	jmp	.L4
.L8:
	movl	$1, %edx
	jmp	.L4
.L9:
	movl	$2, %edx
	jmp	.L4
.L10:
	movl	$3, %edx
	jmp	.L4
.L12:
	movl	$5, %edx
	jmp	.L4
.L13:
	movl	$6, %edx
	jmp	.L4
.L14:
	movl	$7, %edx
	jmp	.L4
.L15:
	movl	$8, %edx
	jmp	.L4
.L16:
	movl	$9, %edx
	jmp	.L4
.L17:
	movl	$10, %edx
	jmp	.L4
.L22:
	call	__stack_chk_fail@PLT
	.cfi_endproc
.LFE23:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	1f - 0f
	.long	4f - 1f
	.long	5
0:
	.string	"GNU"
1:
	.align 8
	.long	0xc0000002
	.long	3f - 2f
2:
	.long	0x3
3:
	.align 8
4:
```