	.file	"208497.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d %d"
.LC1:
	.string	"%d "
.LC2:
	.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	r12
	push	rbx
	sub	rsp, 848
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -24[rbp], rax
	xor	eax, eax
	lea	rdx, -832[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	lea	rdx, -432[rbp]
	mov	eax, 0
	mov	ecx, 50
	mov	rdi, rdx
	rep stosq
	lea	rdx, -848[rbp]
	lea	rax, -852[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -836[rbp], 0
	jmp	.L2
.L3:
	lea	rdx, -832[rbp]
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	sal	rax, 2
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	add	DWORD PTR -836[rbp], 1
.L2:
	mov	eax, DWORD PTR -852[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jl	.L3
	mov	DWORD PTR -836[rbp], 1
	jmp	.L4
.L5:
	lea	rdx, -840[rbp]
	lea	rax, -844[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	ecx, DWORD PTR -852[rbp]
	mov	edx, DWORD PTR -840[rbp]
	mov	esi, DWORD PTR -844[rbp]
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	M
	mov	ebx, eax
	mov	ecx, DWORD PTR -852[rbp]
	mov	edx, DWORD PTR -840[rbp]
	mov	esi, DWORD PTR -844[rbp]
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	N
	mov	esi, ebx
	mov	edi, eax
	call	ma
	mov	ebx, eax
	mov	ecx, DWORD PTR -852[rbp]
	mov	edx, DWORD PTR -840[rbp]
	mov	esi, DWORD PTR -844[rbp]
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	M
	mov	r12d, eax
	mov	ecx, DWORD PTR -852[rbp]
	mov	edx, DWORD PTR -840[rbp]
	mov	esi, DWORD PTR -844[rbp]
	lea	rax, -832[rbp]
	mov	rdi, rax
	call	N
	mov	esi, r12d
	mov	edi, eax
	call	mi
	mov	ecx, eax
	lea	rax, -832[rbp]
	mov	edx, ebx
	mov	esi, ecx
	mov	rdi, rax
	call	H
	mov	edx, DWORD PTR -836[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -432[rbp+rdx*4], eax
	add	DWORD PTR -836[rbp], 1
.L4:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jle	.L5
	mov	DWORD PTR -836[rbp], 1
	jmp	.L6
.L7:
	mov	eax, DWORD PTR -836[rbp]
	cdqe
	mov	eax, DWORD PTR -432[rbp+rax*4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -836[rbp], 1
.L6:
	mov	eax, DWORD PTR -848[rbp]
	cmp	DWORD PTR -836[rbp], eax
	jle	.L7
	mov	eax, 0
	mov	rbx, QWORD PTR -24[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L9
	call	__stack_chk_fail@PLT
.L9:
	add	rsp, 848
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.globl	N
	.type	N, @function
N:
.LFB1:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -4[rbp], 0
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	add	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L11:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L12
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	N, .-N
	.globl	M
	.type	M, @function
M:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	DWORD PTR -36[rbp], ecx
	mov	DWORD PTR -4[rbp], 1
	mov	eax, DWORD PTR -28[rbp]
	mov	DWORD PTR -8[rbp], eax
	jmp	.L15
.L16:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	imul	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], edx
	add	DWORD PTR -8[rbp], 1
.L15:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L16
	mov	eax, DWORD PTR -4[rbp]
	cdq
	idiv	DWORD PTR -36[rbp]
	mov	DWORD PTR -4[rbp], edx
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	M, .-M
	.globl	ma
	.type	ma, @function
ma:
.LFB3:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jle	.L19
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
.L20:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	ma, .-ma
	.globl	mi
	.type	mi, @function
mi:
.LFB4:
	.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 -20[rbp], edi
	mov	DWORD PTR -24[rbp], esi
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, DWORD PTR -24[rbp]
	jge	.L23
	mov	eax, DWORD PTR -20[rbp]
	mov	DWORD PTR -4[rbp], eax
	jmp	.L24
.L23:
	mov	eax, DWORD PTR -24[rbp]
	mov	DWORD PTR -4[rbp], eax
.L24:
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	mi, .-mi
	.globl	H
	.type	H, @function
H:
.LFB5:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -24[rbp], rdi
	mov	DWORD PTR -28[rbp], esi
	mov	DWORD PTR -32[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	mov	DWORD PTR -4[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, 1
	mov	DWORD PTR -8[rbp], eax
	jmp	.L27
.L28:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	mov	eax, DWORD PTR [rax]
	xor	DWORD PTR -4[rbp], eax
	add	DWORD PTR -8[rbp], 1
.L27:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -32[rbp]
	jle	.L28
	mov	eax, DWORD PTR -4[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	H, .-H
	.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	"208497.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d %d\000"
	.align	2
.LC1:
	.ascii	"%d \000"
	.align	2
.LC2:
	.ascii	"%d\012\000"
	.align	2
.LC3:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 824
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #824
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #816
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #416
	mov	r2, #400
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r2, fp, #832
	sub	r3, fp, #836
	mov	r1, r3
	ldr	r0, .L10+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-820]
	b	.L2
.L3:
	sub	r2, fp, #816
	ldr	r3, [fp, #-820]
	lsl	r3, r3, #2
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L10+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L2:
	ldr	r3, [fp, #-836]
	ldr	r2, [fp, #-820]
	cmp	r2, r3
	blt	.L3
	mov	r3, #1
	str	r3, [fp, #-820]
	b	.L4
.L5:
	sub	r2, fp, #824
	sub	r3, fp, #828
	mov	r1, r3
	ldr	r0, .L10+4
	bl	__isoc99_scanf
	ldr	r1, [fp, #-828]
	ldr	r2, [fp, #-824]
	ldr	r3, [fp, #-836]
	sub	r0, fp, #816
	bl	N
	mov	r4, r0
	ldr	r1, [fp, #-828]
	ldr	r2, [fp, #-824]
	ldr	r3, [fp, #-836]
	sub	r0, fp, #816
	bl	M
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	mi
	mov	r4, r0
	ldr	r1, [fp, #-828]
	ldr	r2, [fp, #-824]
	ldr	r3, [fp, #-836]
	sub	r0, fp, #816
	bl	N
	mov	r5, r0
	ldr	r1, [fp, #-828]
	ldr	r2, [fp, #-824]
	ldr	r3, [fp, #-836]
	sub	r0, fp, #816
	bl	M
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	ma
	mov	r2, r0
	sub	r3, fp, #816
	mov	r1, r4
	mov	r0, r3
	bl	H
	mov	r2, r0
	ldr	r3, [fp, #-820]
	lsl	r3, r3, #2
	sub	r1, fp, #12
	add	r3, r1, r3
	str	r2, [r3, #-404]
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L4:
	ldr	r3, [fp, #-832]
	ldr	r2, [fp, #-820]
	cmp	r2, r3
	ble	.L5
	mov	r3, #1
	str	r3, [fp, #-820]
	b	.L6
.L7:
	ldr	r3, [fp, #-820]
	lsl	r3, r3, #2
	sub	r2, fp, #12
	add	r3, r2, r3
	ldr	r3, [r3, #-404]
	mov	r1, r3
	ldr	r0, .L10+12
	bl	printf
	ldr	r3, [fp, #-820]
	add	r3, r3, #1
	str	r3, [fp, #-820]
.L6:
	ldr	r3, [fp, #-832]
	ldr	r2, [fp, #-820]
	cmp	r2, r3
	ble	.L7
	mov	r3, #0
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.size	main, .-main
	.global	__aeabi_idivmod
	.align	2
	.global	N
	.syntax unified
	.arm
	.fpu softvfp
	.type	N, %function
N:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #0
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L13
.L14:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	add	r3, r2, r3
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L13:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L14
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	N, .-N
	.align	2
	.global	M
	.syntax unified
	.arm
	.fpu softvfp
	.type	M, %function
M:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	str	r3, [fp, #-28]
	mov	r3, #1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-12]
	b	.L17
.L18:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	mul	r3, r2, r3
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L17:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L18
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-28]
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	M, .-M
	.align	2
	.global	ma
	.syntax unified
	.arm
	.fpu softvfp
	.type	ma, %function
ma:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	ble	.L21
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L22
.L21:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	ma, .-ma
	.align	2
	.global	mi
	.syntax unified
	.arm
	.fpu softvfp
	.type	mi, %function
mi:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-20]
	cmp	r2, r3
	bge	.L25
	ldr	r3, [fp, #-16]
	str	r3, [fp, #-8]
	b	.L26
.L25:
	ldr	r3, [fp, #-20]
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	mi, .-mi
	.align	2
	.global	H
	.syntax unified
	.arm
	.fpu softvfp
	.type	H, %function
H:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #28
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-20]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L29
.L30:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	ldr	r2, [fp, #-16]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	eor	r3, r3, r2
	str	r3, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L29:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-24]
	cmp	r2, r3
	ble	.L30
	ldr	r3, [fp, #-8]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	H, .-H
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
