	.file	"231392232.c"
	.intel_syntax noprefix
	.text
	.globl	is_prime
	.bss
	.align 32
	.type	is_prime, @object
	.size	is_prime, 200036
is_prime:
	.zero	200036
	.globl	prime
	.align 32
	.type	prime, @object
	.size	prime, 200036
prime:
	.zero	200036
	.globl	top
	.align 4
	.type	top, @object
	.size	top, 4
top:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	ans
	.data
	.align 8
	.type	ans, @object
	.size	ans, 8
ans:
	.quad	-1
	.text
	.globl	llmin
	.type	llmin, @function
llmin:
.LFB0:
	.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 -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	cmp	QWORD PTR -8[rbp], -1
	jne	.L2
	mov	rax, QWORD PTR -16[rbp]
	jmp	.L3
.L2:
	mov	rax, QWORD PTR -8[rbp]
	cmp	QWORD PTR -16[rbp], rax
	cmovle	rax, QWORD PTR -16[rbp]
.L3:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	llmin, .-llmin
	.globl	is_prim
	.type	is_prim, @function
is_prim:
.LFB1:
	.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
	cmp	DWORD PTR -20[rbp], 2
	je	.L5
	cmp	DWORD PTR -20[rbp], 3
	je	.L5
	cmp	DWORD PTR -20[rbp], 5
	jne	.L6
.L5:
	mov	eax, 1
	jmp	.L7
.L6:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L8
.L10:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -20[rbp]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L9
	mov	eax, 0
	jmp	.L7
.L9:
	add	DWORD PTR -4[rbp], 1
.L8:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rcx+rax]
	imul	eax, edx
	cmp	DWORD PTR -20[rbp], eax
	jge	.L10
	mov	eax, 1
.L7:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	is_prim, .-is_prim
	.globl	dfs
	.type	dfs, @function
dfs:
.LFB2:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 64
	mov	DWORD PTR -36[rbp], edi
	mov	QWORD PTR -48[rbp], rsi
	mov	QWORD PTR -56[rbp], rdx
	cmp	QWORD PTR -56[rbp], 1
	jne	.L12
	mov	rax, QWORD PTR ans[rip]
	mov	rdx, QWORD PTR -48[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	llmin
	mov	QWORD PTR ans[rip], rax
	jmp	.L11
.L12:
	cmp	QWORD PTR -56[rbp], 47009
	jle	.L14
	mov	rax, QWORD PTR -56[rbp]
	add	eax, 1
	mov	edi, eax
	call	is_prim
	test	eax, eax
	je	.L14
	mov	rax, QWORD PTR -56[rbp]
	add	rax, 1
	imul	rax, QWORD PTR -48[rbp]
	mov	rdx, rax
	mov	rax, QWORD PTR ans[rip]
	mov	rsi, rdx
	mov	rdi, rax
	call	llmin
	mov	QWORD PTR ans[rip], rax
	jmp	.L11
.L14:
	mov	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -20[rbp], eax
	jmp	.L15
.L19:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	movsx	rcx, eax
	mov	rax, QWORD PTR -56[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	test	rax, rax
	jne	.L16
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	movsx	rsi, eax
	mov	rax, QWORD PTR -56[rbp]
	cqo
	idiv	rsi
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	mov	rdx, QWORD PTR -48[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	dfs
	jmp	.L17
.L18:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rdi, eax
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	rdi
	mov	QWORD PTR -16[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	mov	rdx, QWORD PTR -8[rbp]
	imul	rax, rdx
	mov	QWORD PTR -8[rbp], rax
	mov	eax, DWORD PTR -20[rbp]
	lea	ecx, 1[rax]
	mov	rdx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	rsi, rax
	mov	edi, ecx
	call	dfs
.L17:
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	movsx	rcx, eax
	mov	rax, QWORD PTR -16[rbp]
	cqo
	idiv	rcx
	mov	rax, rdx
	test	rax, rax
	je	.L18
.L16:
	add	DWORD PTR -20[rbp], 1
.L15:
	mov	eax, DWORD PTR top[rip]
	cmp	DWORD PTR -20[rbp], eax
	jge	.L11
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	sub	eax, 1
	cdqe
	cmp	QWORD PTR -56[rbp], rax
	jge	.L19
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	dfs, .-dfs
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%lld\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB3:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 16
	mov	edx, 200036
	mov	esi, 204
	lea	rdi, is_prime[rip]
	call	memset@PLT
	mov	DWORD PTR is_prime[rip], 0
	mov	DWORD PTR is_prime[rip+4], 0
	mov	DWORD PTR -8[rbp], 2
	jmp	.L21
.L25:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, is_prime[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L22
	mov	eax, DWORD PTR top[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR top[rip], edx
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rdx, prime[rip]
	mov	eax, DWORD PTR -8[rbp]
	mov	DWORD PTR [rcx+rdx], eax
	mov	eax, DWORD PTR -8[rbp]
	add	eax, eax
	mov	DWORD PTR -4[rbp], eax
	jmp	.L23
.L24:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, is_prime[rip]
	mov	DWORD PTR [rdx+rax], 0
	mov	eax, DWORD PTR -8[rbp]
	add	DWORD PTR -4[rbp], eax
.L23:
	cmp	DWORD PTR -4[rbp], 50008
	jle	.L24
.L22:
	add	DWORD PTR -8[rbp], 1
.L21:
	cmp	DWORD PTR -8[rbp], 50008
	jle	.L25
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR n[rip]
	cdqe
	mov	rdx, rax
	mov	esi, 1
	mov	edi, 0
	call	dfs
	mov	rax, QWORD PTR ans[rip]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.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	"231392232.c"
	.text
	.comm	is_prime,200036,4
	.comm	prime,200036,4
	.comm	top,4,4
	.comm	n,4,4
	.global	ans
	.data
	.align	3
	.type	ans, %object
	.size	ans, 8
ans:
	.word	-1
	.word	-1
	.text
	.align	2
	.global	llmin
	.syntax unified
	.arm
	.fpu softvfp
	.type	llmin, %function
llmin:
	@ 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, #-12]
	str	r1, [fp, #-8]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	sub	r3, fp, #12
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	mvn	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	bne	.L2
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	b	.L3
.L2:
	sub	r1, fp, #12
	ldmia	r1, {r0-r1}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	cmp	r0, r2
	sbcs	ip, r1, r3
	bge	.L3
	mov	r2, r0
	mov	r3, r1
.L3:
	mov	r0, r2
	mov	r1, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	llmin, .-llmin
	.global	__aeabi_idivmod
	.align	2
	.global	is_prim
	.syntax unified
	.arm
	.fpu softvfp
	.type	is_prim, %function
is_prim:
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #2
	beq	.L6
	ldr	r3, [fp, #-16]
	cmp	r3, #3
	beq	.L6
	ldr	r3, [fp, #-16]
	cmp	r3, #5
	bne	.L7
.L6:
	mov	r3, #1
	b	.L8
.L7:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L11:
	ldr	r2, .L12
	ldr	r3, [fp, #-8]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-16]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L10
	mov	r3, #0
	b	.L8
.L10:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r2, .L12
	ldr	r3, [fp, #-8]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r1, .L12
	ldr	r2, [fp, #-8]
	ldr	r2, [r1, r2, lsl #2]
	mul	r3, r2, r3
	ldr	r2, [fp, #-16]
	cmp	r2, r3
	bge	.L11
	mov	r3, #1
.L8:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	prime
	.size	is_prim, .-is_prim
	.global	__aeabi_ldivmod
	.align	2
	.global	dfs
	.syntax unified
	.arm
	.fpu softvfp
	.type	dfs, %function
dfs:
	@ args = 8, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #48
	str	r0, [fp, #-40]
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	ldmib	fp, {r2-r3}
	cmp	r3, #0
	cmpeq	r2, #1
	bne	.L15
	ldr	r3, .L23
	ldmia	r3, {r0-r1}
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	bl	llmin
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23
	stm	r1, {r2-r3}
	b	.L14
.L15:
	ldmib	fp, {r2-r3}
	ldr	r0, .L23+4
	mov	r1, #0
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L17
	ldr	r3, [fp, #4]
	add	r3, r3, #1
	mov	r0, r3
	bl	is_prim
	mov	r3, r0
	cmp	r3, #0
	beq	.L17
	ldr	r3, .L23
	ldmia	r3, {r0-r1}
	ldmib	fp, {r2-r3}
	adds	r4, r2, #1
	adc	r5, r3, #0
	ldr	r3, [fp, #-52]
	mul	r2, r5, r3
	ldr	r3, [fp, #-48]
	mul	r3, r4, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-52]
	umull	r2, r3, lr, r4
	add	ip, ip, r3
	mov	r3, ip
	bl	llmin
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L23
	stm	r1, {r2-r3}
	b	.L14
.L17:
	ldr	r3, [fp, #-40]
	str	r3, [fp, #-32]
	b	.L18
.L22:
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	ldmib	fp, {r0-r1}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	bne	.L19
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	ldmib	fp, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-48]
	mul	r2, r0, r3
	ldr	r3, [fp, #-52]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-52]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	dfs
	b	.L20
.L21:
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	mov	r0, r3
	asr	r1, r0, #31
	ldr	r3, [fp, #-16]
	mul	r2, r0, r3
	ldr	r3, [fp, #-20]
	mul	r3, r1, r3
	add	ip, r2, r3
	ldr	lr, [fp, #-20]
	umull	r2, r3, lr, r0
	add	r1, ip, r3
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r1, r3, #1
	sub	r3, fp, #28
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	sub	r3, fp, #20
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	dfs
.L20:
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	mov	r2, r3
	asr	r3, r2, #31
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ldivmod
	orrs	r3, r2, r3
	beq	.L21
.L19:
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L18:
	ldr	r3, .L23+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	bge	.L14
	ldr	r2, .L23+8
	ldr	r3, [fp, #-32]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #1
	mov	r2, r3
	asr	r3, r2, #31
	ldmib	fp, {r0-r1}
	cmp	r0, r2
	sbcs	r3, r1, r3
	bge	.L22
.L14:
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L24:
	.align	2
.L23:
	.word	ans
	.word	47009
	.word	prime
	.word	top
	.size	dfs, .-dfs
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%lld\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #16
	ldr	r2, .L32
	mov	r1, #204
	ldr	r0, .L32+4
	bl	memset
	ldr	r3, .L32+4
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L32+4
	mov	r2, #0
	str	r2, [r3, #4]
	mov	r3, #2
	str	r3, [fp, #-12]
	b	.L26
.L30:
	ldr	r2, .L32+4
	ldr	r3, [fp, #-12]
	ldr	r3, [r2, r3, lsl #2]
	cmp	r3, #0
	beq	.L27
	ldr	r3, .L32+8
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L32+8
	str	r2, [r1]
	ldr	r1, .L32+12
	ldr	r2, [fp, #-12]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r2, .L32+4
	ldr	r3, [fp, #-8]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	ldr	r2, [fp, #-8]
	ldr	r3, [fp, #-12]
	add	r3, r2, r3
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	ldr	r2, .L32+16
	cmp	r3, r2
	ble	.L29
.L27:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L26:
	ldr	r3, [fp, #-12]
	ldr	r2, .L32+16
	cmp	r3, r2
	ble	.L30
	ldr	r1, .L32+20
	ldr	r0, .L32+24
	bl	__isoc99_scanf
	ldr	r3, .L32+20
	ldr	r3, [r3]
	mov	r2, r3
	asr	r3, r2, #31
	stm	sp, {r2-r3}
	mov	r2, #1
	mov	r3, #0
	mov	r0, #0
	bl	dfs
	ldr	r3, .L32+28
	ldmia	r3, {r2-r3}
	ldr	r0, .L32+32
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	200036
	.word	is_prime
	.word	top
	.word	prime
	.word	50008
	.word	n
	.word	.LC0
	.word	ans
	.word	.LC1
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
