	.file	"195753.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d%d%d"
.LC2:
	.string	"%d%d"
.LC3:
	.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, 320
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -320[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	jmp	.L2
.L29:
	mov	DWORD PTR -264[rbp], 0
	lea	rdi, -300[rbp]
	lea	rsi, -304[rbp]
	lea	rcx, -308[rbp]
	lea	rdx, -312[rbp]
	lea	rax, -316[rbp]
	mov	r9, rdi
	mov	r8, rsi
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -288[rbp], 0
	jmp	.L3
.L4:
	lea	rdx, -256[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -288[rbp], 1
.L3:
	mov	eax, DWORD PTR -316[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L4
	mov	DWORD PTR -288[rbp], 0
	jmp	.L5
.L6:
	lea	rdx, -208[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -288[rbp], 1
.L5:
	mov	eax, DWORD PTR -312[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L6
	mov	DWORD PTR -288[rbp], 0
	jmp	.L7
.L8:
	lea	rdx, -160[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -288[rbp], 1
.L7:
	mov	eax, DWORD PTR -308[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L8
	mov	DWORD PTR -288[rbp], 0
	jmp	.L9
.L10:
	lea	rdx, -112[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -288[rbp], 1
.L9:
	mov	eax, DWORD PTR -304[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L10
	mov	DWORD PTR -288[rbp], 0
	jmp	.L11
.L12:
	lea	rdx, -64[rbp]
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -288[rbp], 1
.L11:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L12
	lea	rdx, -292[rbp]
	lea	rax, -296[rbp]
	mov	rsi, rax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -304[rbp]
	cdqe
	mov	DWORD PTR -112[rbp+rax*4], 0
	mov	eax, DWORD PTR -300[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], 0
	mov	DWORD PTR -288[rbp], 0
	jmp	.L13
.L28:
	mov	eax, DWORD PTR -288[rbp]
	add	eax, 1
	mov	DWORD PTR -284[rbp], eax
	jmp	.L14
.L27:
	mov	DWORD PTR -280[rbp], 0
	jmp	.L15
.L26:
	mov	eax, DWORD PTR -280[rbp]
	add	eax, 1
	mov	DWORD PTR -276[rbp], eax
	jmp	.L16
.L25:
	mov	eax, DWORD PTR -288[rbp]
	cdqe
	mov	edx, DWORD PTR -112[rbp+rax*4]
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	eax, DWORD PTR -112[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -280[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	add	edx, eax
	mov	eax, DWORD PTR -276[rbp]
	cdqe
	mov	eax, DWORD PTR -64[rbp+rax*4]
	add	eax, edx
	mov	DWORD PTR -260[rbp], eax
	mov	DWORD PTR -272[rbp], 0
	jmp	.L17
.L21:
	mov	DWORD PTR -268[rbp], 0
	jmp	.L18
.L20:
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	edx, DWORD PTR -256[rbp+rax*4]
	mov	eax, DWORD PTR -268[rbp]
	cdqe
	mov	eax, DWORD PTR -208[rbp+rax*4]
	add	eax, edx
	add	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jg	.L19
	mov	eax, DWORD PTR -296[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jl	.L19
	add	DWORD PTR -264[rbp], 1
.L19:
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	edx, DWORD PTR -256[rbp+rax*4]
	mov	eax, DWORD PTR -268[rbp]
	cdqe
	mov	eax, DWORD PTR -208[rbp+rax*4]
	add	eax, edx
	sub	DWORD PTR -260[rbp], eax
	add	DWORD PTR -268[rbp], 1
.L18:
	mov	eax, DWORD PTR -312[rbp]
	cmp	DWORD PTR -268[rbp], eax
	jl	.L20
	add	DWORD PTR -272[rbp], 1
.L17:
	mov	eax, DWORD PTR -316[rbp]
	cmp	DWORD PTR -272[rbp], eax
	jl	.L21
	mov	DWORD PTR -272[rbp], 0
	jmp	.L22
.L24:
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	eax, DWORD PTR -160[rbp+rax*4]
	add	DWORD PTR -260[rbp], eax
	mov	eax, DWORD PTR -292[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jg	.L23
	mov	eax, DWORD PTR -296[rbp]
	cmp	DWORD PTR -260[rbp], eax
	jl	.L23
	add	DWORD PTR -264[rbp], 1
.L23:
	mov	eax, DWORD PTR -272[rbp]
	cdqe
	mov	eax, DWORD PTR -160[rbp+rax*4]
	sub	DWORD PTR -260[rbp], eax
	add	DWORD PTR -272[rbp], 1
.L22:
	mov	eax, DWORD PTR -308[rbp]
	cmp	DWORD PTR -272[rbp], eax
	jl	.L24
	add	DWORD PTR -276[rbp], 1
.L16:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -276[rbp], eax
	jle	.L25
	add	DWORD PTR -280[rbp], 1
.L15:
	mov	eax, DWORD PTR -300[rbp]
	cmp	DWORD PTR -280[rbp], eax
	jl	.L26
	add	DWORD PTR -284[rbp], 1
.L14:
	mov	eax, DWORD PTR -304[rbp]
	cmp	DWORD PTR -284[rbp], eax
	jle	.L27
	add	DWORD PTR -288[rbp], 1
.L13:
	mov	eax, DWORD PTR -304[rbp]
	cmp	DWORD PTR -288[rbp], eax
	jl	.L28
	mov	eax, DWORD PTR -264[rbp]
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
.L2:
	mov	eax, DWORD PTR -320[rbp]
	lea	edx, -1[rax]
	mov	DWORD PTR -320[rbp], edx
	test	eax, eax
	jne	.L29
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L31
	call	__stack_chk_fail@PLT
.L31:
	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	"195753.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d%d%d%d%d\000"
	.align	2
.LC2:
	.ascii	"%d%d\000"
	.align	2
.LC3:
	.ascii	"%d\012\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #296
	ldr	r3, .L32
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #292
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	b	.L2
.L29:
	mov	r3, #0
	str	r3, [fp, #-236]
	sub	r0, fp, #280
	sub	r2, fp, #284
	sub	r1, fp, #288
	sub	r3, fp, #272
	str	r3, [sp, #4]
	sub	r3, fp, #276
	str	r3, [sp]
	mov	r3, r0
	ldr	r0, .L32+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L3
.L4:
	sub	r2, fp, #228
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L3:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L4
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L5
.L6:
	sub	r2, fp, #184
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L5:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L6
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L7
.L8:
	sub	r2, fp, #140
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L7:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L8
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L9
.L10:
	sub	r2, fp, #96
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L9:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L10
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L11
.L12:
	sub	r2, fp, #52
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L32+4
	bl	__isoc99_scanf
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L11:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L12
	sub	r2, fp, #264
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, .L32+12
	bl	__isoc99_scanf
	ldr	r3, [fp, #-276]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-92]
	ldr	r3, [fp, #-272]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	mov	r2, #0
	str	r2, [r3, #-48]
	mov	r3, #0
	str	r3, [fp, #-260]
	b	.L13
.L28:
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-256]
	b	.L14
.L27:
	mov	r3, #0
	str	r3, [fp, #-252]
	b	.L15
.L26:
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-248]
	b	.L16
.L25:
	ldr	r3, [fp, #-260]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-92]
	ldr	r3, [fp, #-256]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-92]
	add	r2, r2, r3
	ldr	r3, [fp, #-252]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r2, r2, r3
	ldr	r3, [fp, #-248]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-232]
	mov	r3, #0
	str	r3, [fp, #-244]
	b	.L17
.L21:
	mov	r3, #0
	str	r3, [fp, #-240]
	b	.L18
.L20:
	ldr	r3, [fp, #-244]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-224]
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-180]
	add	r3, r2, r3
	ldr	r2, [fp, #-232]
	add	r3, r2, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	bgt	.L19
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L19:
	ldr	r3, [fp, #-244]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r2, [r3, #-224]
	ldr	r3, [fp, #-240]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	ldr	r3, [r3, #-180]
	add	r3, r2, r3
	ldr	r2, [fp, #-232]
	sub	r3, r2, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-240]
	add	r3, r3, #1
	str	r3, [fp, #-240]
.L18:
	ldr	r3, [fp, #-284]
	ldr	r2, [fp, #-240]
	cmp	r2, r3
	blt	.L20
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
.L17:
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-244]
	cmp	r2, r3
	blt	.L21
	mov	r3, #0
	str	r3, [fp, #-244]
	b	.L22
.L24:
	ldr	r3, [fp, #-244]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-136]
	ldr	r2, [fp, #-232]
	add	r3, r2, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-264]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	bgt	.L23
	ldr	r3, [fp, #-268]
	ldr	r2, [fp, #-232]
	cmp	r2, r3
	blt	.L23
	ldr	r3, [fp, #-236]
	add	r3, r3, #1
	str	r3, [fp, #-236]
.L23:
	ldr	r3, [fp, #-244]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-136]
	ldr	r2, [fp, #-232]
	sub	r3, r2, r3
	str	r3, [fp, #-232]
	ldr	r3, [fp, #-244]
	add	r3, r3, #1
	str	r3, [fp, #-244]
.L22:
	ldr	r3, [fp, #-280]
	ldr	r2, [fp, #-244]
	cmp	r2, r3
	blt	.L24
	ldr	r3, [fp, #-248]
	add	r3, r3, #1
	str	r3, [fp, #-248]
.L16:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-248]
	cmp	r2, r3
	ble	.L25
	ldr	r3, [fp, #-252]
	add	r3, r3, #1
	str	r3, [fp, #-252]
.L15:
	ldr	r3, [fp, #-272]
	ldr	r2, [fp, #-252]
	cmp	r2, r3
	blt	.L26
	ldr	r3, [fp, #-256]
	add	r3, r3, #1
	str	r3, [fp, #-256]
.L14:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-256]
	cmp	r2, r3
	ble	.L27
	ldr	r3, [fp, #-260]
	add	r3, r3, #1
	str	r3, [fp, #-260]
.L13:
	ldr	r3, [fp, #-276]
	ldr	r2, [fp, #-260]
	cmp	r2, r3
	blt	.L28
	ldr	r1, [fp, #-236]
	ldr	r0, .L32+16
	bl	printf
.L2:
	ldr	r3, [fp, #-292]
	sub	r2, r3, #1
	str	r2, [fp, #-292]
	cmp	r3, #0
	bne	.L29
	mov	r3, #0
	ldr	r2, .L32
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L31
	bl	__stack_chk_fail
.L31:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
