	.file	"17137.c"
	.intel_syntax noprefix
	.text
	.globl	a
	.bss
	.align 32
	.type	a, @object
	.size	a, 4036
a:
	.zero	4036
	.globl	N
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.zero	4
	.section	.rodata
.LC0:
	.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
	push	rbx
	sub	rsp, 24
	.cfi_offset 3, -24
	mov	DWORD PTR -28[rbp], 2147483647
	call	read
	mov	DWORD PTR -32[rbp], 0
	jmp	.L2
.L7:
	mov	DWORD PTR -24[rbp], 0
	mov	eax, DWORD PTR -32[rbp]
	add	eax, 17
	mov	DWORD PTR -20[rbp], eax
	mov	ebx, 0
	jmp	.L3
.L6:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -32[rbp], eax
	jg	.L4
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L5
.L4:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, DWORD PTR -20[rbp]
	mov	edx, eax
	movsx	rax, ebx
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rcx+rax]
	sub	eax, DWORD PTR -20[rbp]
	imul	edx, eax
	movsx	rax, ebx
	lea	rcx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rcx+rax]
	sub	eax, DWORD PTR -32[rbp]
	mov	ecx, eax
	movsx	rax, ebx
	lea	rsi, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rsi+rax]
	sub	eax, DWORD PTR -32[rbp]
	imul	eax, ecx
	mov	esi, edx
	mov	edi, eax
	call	min
	add	DWORD PTR -24[rbp], eax
.L5:
	add	ebx, 1
.L3:
	mov	eax, DWORD PTR N[rip]
	cmp	ebx, eax
	jl	.L6
	mov	edx, DWORD PTR -24[rbp]
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	DWORD PTR -28[rbp], eax
	add	DWORD PTR -32[rbp], 1
.L2:
	cmp	DWORD PTR -32[rbp], 99
	jle	.L7
	mov	eax, DWORD PTR -28[rbp]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC1:
	.string	"%d"
	.text
	.globl	read
	.type	read, @function
read:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 8
	.cfi_offset 3, -24
	lea	rsi, N[rip]
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ebx, 0
	jmp	.L10
.L11:
	movsx	rax, ebx
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	ebx, 1
.L10:
	mov	eax, DWORD PTR N[rip]
	cmp	ebx, eax
	jl	.L11
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	read, .-read
	.globl	min
	.type	min, @function
min:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -8[rbp]
	cmp	DWORD PTR -4[rbp], eax
	cmovle	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	min, .-min
	.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	"17137.c"
	.text
	.comm	a,4036,4
	.comm	N,4,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #20
	mvn	r3, #-2147483648
	str	r3, [fp, #-24]
	bl	read
	mov	r3, #0
	str	r3, [fp, #-28]
	b	.L2
.L7:
	mov	r3, #0
	str	r3, [fp, #-20]
	ldr	r3, [fp, #-28]
	add	r3, r3, #17
	str	r3, [fp, #-16]
	mov	r4, #0
	b	.L3
.L6:
	ldr	r3, .L9
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, [fp, #-28]
	cmp	r2, r3
	bgt	.L4
	ldr	r3, .L9
	ldr	r3, [r3, r4, lsl #2]
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L5
.L4:
	ldr	r3, .L9
	ldr	r2, [r3, r4, lsl #2]
	ldr	r3, [fp, #-28]
	sub	r3, r2, r3
	ldr	r2, .L9
	ldr	r1, [r2, r4, lsl #2]
	ldr	r2, [fp, #-28]
	sub	r2, r1, r2
	mul	r0, r2, r3
	ldr	r3, .L9
	ldr	r2, [r3, r4, lsl #2]
	ldr	r3, [fp, #-16]
	sub	r3, r2, r3
	ldr	r2, .L9
	ldr	r1, [r2, r4, lsl #2]
	ldr	r2, [fp, #-16]
	sub	r2, r1, r2
	mul	r3, r2, r3
	mov	r1, r3
	bl	min
	mov	r2, r0
	ldr	r3, [fp, #-20]
	add	r3, r3, r2
	str	r3, [fp, #-20]
.L5:
	add	r4, r4, #1
.L3:
	ldr	r3, .L9+4
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L6
	ldr	r1, [fp, #-20]
	ldr	r0, [fp, #-24]
	bl	min
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-28]
	add	r3, r3, #1
	str	r3, [fp, #-28]
.L2:
	ldr	r3, [fp, #-28]
	cmp	r3, #99
	ble	.L7
	ldr	r1, [fp, #-24]
	ldr	r0, .L9+8
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L10:
	.align	2
.L9:
	.word	a
	.word	N
	.word	.LC0
	.size	main, .-main
	.section	.rodata
	.align	2
.LC1:
	.ascii	"%d\000"
	.text
	.align	2
	.global	read
	.syntax unified
	.arm
	.fpu softvfp
	.type	read, %function
read:
	@ args = 0, pretend = 0, frame = 0
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	ldr	r1, .L14
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	mov	r4, #0
	b	.L12
.L13:
	mov	r3, r4
	lsl	r3, r3, #2
	ldr	r2, .L14+8
	add	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L14+4
	bl	__isoc99_scanf
	add	r4, r4, #1
.L12:
	ldr	r3, .L14
	ldr	r3, [r3]
	cmp	r4, r3
	blt	.L13
	nop
	nop
	pop	{r4, r5, fp, pc}
.L15:
	.align	2
.L14:
	.word	N
	.word	.LC1
	.word	a
	.size	read, .-read
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
