	.file	"9514000.c"
	.intel_syntax noprefix
	.text
	.globl	answer
	.bss
	.align 32
	.type	answer, @object
	.size	answer, 40804
answer:
	.zero	40804
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB0:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -24[rbp], 0
	jmp	.L2
.L5:
	mov	DWORD PTR -16[rbp], 0
	jmp	.L3
.L4:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	DWORD PTR [rdx+rax], 0
	add	DWORD PTR -16[rbp], 1
.L3:
	cmp	DWORD PTR -16[rbp], 100
	jle	.L4
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
.L2:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 100
	jle	.L5
	mov	DWORD PTR answer[rip+408], 1
	mov	DWORD PTR answer[rip+404], 1
	mov	DWORD PTR -24[rbp], 2
	jmp	.L6
.L13:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -24[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	DWORD PTR [rdx+rax], 1
	mov	DWORD PTR -16[rbp], 1
	jmp	.L7
.L10:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	DWORD PTR -12[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -12[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	ecx, DWORD PTR -16[rbp]
	mov	edx, DWORD PTR -12[rbp]
	add	edx, ecx
	sub	edx, 1
	imul	eax, edx
	mov	ecx, eax
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rsi, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rdx
	add	rax, rsi
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	eax, ecx
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rdx, eax
	imul	rdx, rdx, 1801439851
	shr	rdx, 32
	sar	edx, 22
	mov	esi, eax
	sar	esi, 31
	sub	edx, esi
	imul	esi, edx, 10000000
	sub	eax, esi
	mov	edx, eax
	mov	eax, DWORD PTR -16[rbp]
	movsx	rsi, eax
	movsx	rcx, ecx
	mov	rax, rcx
	sal	rax, 2
	add	rax, rcx
	lea	rdi, 0[0+rax*4]
	add	rax, rdi
	sal	rax, 2
	add	rax, rcx
	add	rax, rsi
	lea	rcx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	DWORD PTR [rcx+rax], edx
	add	DWORD PTR -12[rbp], 1
.L8:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, DWORD PTR -16[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jle	.L9
	add	DWORD PTR -16[rbp], 1
.L7:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jl	.L10
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rax, rax, 404
	lea	rdx, answer[rip]
	mov	DWORD PTR [rax+rdx], 0
	mov	DWORD PTR -16[rbp], 1
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -24[rbp]
	mov	edx, DWORD PTR -16[rbp]
	movsx	rcx, edx
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	lea	rsi, 0[0+rax*4]
	add	rax, rsi
	sal	rax, 2
	add	rax, rdx
	add	rax, rcx
	lea	rdx, 0[0+rax*4]
	lea	rax, answer[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rax, rax, 404
	lea	rdx, answer[rip]
	mov	eax, DWORD PTR [rax+rdx]
	lea	edx, [rcx+rax]
	mov	ecx, DWORD PTR -24[rbp]
	movsx	rax, edx
	imul	rax, rax, 1801439851
	shr	rax, 32
	sar	eax, 22
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 10000000
	mov	eax, edx
	sub	eax, esi
	movsx	rdx, ecx
	imul	rdx, rdx, 404
	lea	rcx, answer[rip]
	mov	DWORD PTR [rdx+rcx], eax
	add	DWORD PTR -16[rbp], 1
.L11:
	mov	eax, DWORD PTR -24[rbp]
	cmp	DWORD PTR -16[rbp], eax
	jle	.L12
	mov	eax, DWORD PTR -24[rbp]
	add	eax, 1
	mov	DWORD PTR -24[rbp], eax
.L6:
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 100
	jle	.L13
	mov	rax, QWORD PTR stdout[rip]
	mov	esi, 0
	mov	rdi, rax
	call	setbuf@PLT
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -20[rbp], 0
	jmp	.L14
.L15:
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	imul	rax, rax, 404
	lea	rdx, answer[rip]
	mov	eax, DWORD PTR [rax+rdx]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -20[rbp], 1
.L14:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L15
	mov	eax, 0
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L17
	call	__stack_chk_fail@PLT
.L17:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.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:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"9514000.c"
	.text
	.comm	answer,40804,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d\012\000"
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L18
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-24]
	b	.L2
.L5:
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L3
.L4:
	ldr	r2, [fp, #-24]
	ldr	r0, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L3:
	ldr	r3, [fp, #-16]
	cmp	r3, #100
	ble	.L4
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L2:
	ldr	r3, [fp, #-24]
	cmp	r3, #100
	ble	.L5
	ldr	r3, .L18+4
	mov	r2, #1
	str	r2, [r3, #408]
	ldr	r3, .L18+4
	mov	r2, #1
	str	r2, [r3, #404]
	mov	r3, #2
	str	r3, [fp, #-24]
	b	.L6
.L13:
	ldr	r2, [fp, #-24]
	ldr	r1, [fp, #-24]
	ldr	ip, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r3, r3, r1
	mov	r2, #1
	str	r2, [ip, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L7
.L10:
	ldr	r2, [fp, #-24]
	ldr	r0, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r0, r3, lsl #2]
	mov	r3, #1
	str	r3, [fp, #-12]
	b	.L8
.L9:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r2, r2, r3
	ldr	r0, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-12]
	add	r3, r3, r2
	ldr	r3, [r0, r3, lsl #2]
	ldr	r1, [fp, #-16]
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	sub	r2, r2, #1
	mul	r1, r2, r3
	ldr	r2, [fp, #-24]
	ldr	ip, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r0, r3, #2
	add	r3, r3, r0
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r3, [ip, r3, lsl #2]
	add	r0, r1, r3
	ldr	ip, [fp, #-24]
	ldr	r3, .L18+8
	smull	r2, r3, r0, r3
	asr	r2, r3, #22
	asr	r3, r0, #31
	sub	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	sub	r1, r0, r3
	ldr	r0, .L18+4
	mov	r3, ip
	lsl	r3, r3, #2
	add	r3, r3, ip
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, ip
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	str	r1, [r0, r3, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r2, [fp, #-24]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L7:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-24]
	ldr	r2, .L18+4
	mov	r1, #404
	mul	r3, r1, r3
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #1
	str	r3, [fp, #-16]
	b	.L11
.L12:
	ldr	r2, [fp, #-24]
	ldr	r0, .L18+4
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r1, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	add	r3, r3, r2
	ldr	r2, [r0, r3, lsl #2]
	ldr	r3, [fp, #-24]
	ldr	r1, .L18+4
	mov	r0, #404
	mul	r3, r0, r3
	add	r3, r1, r3
	ldr	r3, [r3]
	add	r0, r2, r3
	ldr	ip, [fp, #-24]
	ldr	r3, .L18+8
	smull	r2, r3, r0, r3
	asr	r2, r3, #22
	asr	r3, r0, #31
	sub	r1, r2, r3
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #7
	sub	r1, r0, r3
	ldr	r2, .L18+4
	mov	r3, #404
	mul	r3, ip, r3
	add	r3, r2, r3
	str	r1, [r3]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L11:
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	ble	.L12
	ldr	r3, [fp, #-24]
	add	r3, r3, #1
	str	r3, [fp, #-24]
.L6:
	ldr	r3, [fp, #-24]
	cmp	r3, #100
	ble	.L13
	ldr	r3, .L18+12
	ldr	r3, [r3]
	mov	r1, #0
	mov	r0, r3
	bl	setbuf
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L18+16
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-20]
	b	.L14
.L15:
	sub	r3, fp, #24
	mov	r1, r3
	ldr	r0, .L18+20
	bl	__isoc99_scanf
	ldr	r3, [fp, #-24]
	ldr	r2, .L18+4
	mov	r1, #404
	mul	r3, r1, r3
	add	r3, r2, r3
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L18+20
	bl	printf
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-20]
.L14:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-20]
	cmp	r2, r3
	blt	.L15
	mov	r3, #0
	ldr	r2, .L18
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L17
	bl	__stack_chk_fail
.L17:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L19:
	.align	2
.L18:
	.word	.LC2
	.word	answer
	.word	1801439851
	.word	stdout
	.word	.LC0
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
