	.file	"639120.c"
	.intel_syntax noprefix
	.text
	.globl	n
	.bss
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	a
	.align 32
	.type	a, @object
	.size	a, 4193540
a:
	.zero	4193540
	.globl	dp
	.align 32
	.type	dp, @object
	.size	dp, 4193540
dp:
	.zero	4193540
	.globl	twopower
	.align 32
	.type	twopower, @object
	.size	twopower, 23140
twopower:
	.zero	23140
	.globl	ans
	.align 32
	.type	ans, @object
	.size	ans, 260
ans:
	.zero	260
	.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, 16
	lea	rdi, ans[rip]
	call	clear
	call	read
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L3:
	mov	eax, DWORD PTR -4[rbp]
	mov	edi, eax
	call	solve
	mov	rsi, rax
	lea	rdi, ans[rip]
	call	add
	add	DWORD PTR -4[rbp], 1
.L2:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L3
	lea	rdi, ans[rip]
	call	prt
	mov	edi, 10
	call	putchar@PLT
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.section	.rodata
.LC0:
	.string	"%d%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
	sub	rsp, 16
	lea	rdx, m[rip]
	lea	rsi, n[rip]
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -8[rbp], 0
	jmp	.L6
.L9:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L7
.L8:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	imul	rax, rax, 33020
	lea	rdx, a[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -4[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	add	rax, rcx
	mov	rdi, rax
	call	clear
	mov	rdi, rax
	call	readbg
	add	DWORD PTR -4[rbp], 1
.L7:
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -4[rbp], eax
	jl	.L8
	add	DWORD PTR -8[rbp], 1
.L6:
	mov	eax, DWORD PTR n[rip]
	cmp	DWORD PTR -8[rbp], eax
	jl	.L9
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	read, .-read
	.globl	solve
	.type	solve, @function
solve:
.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, 576
	mov	DWORD PTR -564[rbp], edi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR m[rip]
	sub	eax, 1
	mov	DWORD PTR -556[rbp], eax
	jmp	.L11
.L16:
	mov	eax, DWORD PTR -556[rbp]
	mov	DWORD PTR -552[rbp], eax
	jmp	.L12
.L15:
	mov	edx, DWORD PTR m[rip]
	mov	eax, DWORD PTR -556[rbp]
	add	eax, edx
	sub	eax, DWORD PTR -552[rbp]
	mov	DWORD PTR -548[rbp], eax
	cmp	DWORD PTR -552[rbp], 0
	je	.L13
	mov	edx, DWORD PTR -548[rbp]
	lea	rax, -544[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	pow2
	mov	eax, DWORD PTR -556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -564[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, a[rip]
	add	rdx, rax
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mul
	mov	eax, DWORD PTR -556[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	movsx	rdx, ecx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, dp[rip]
	add	rdx, rax
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add
	mov	edx, DWORD PTR -548[rbp]
	lea	rax, -272[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	pow2
	mov	eax, DWORD PTR -552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -564[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, a[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mul
	mov	eax, DWORD PTR -552[rbp]
	sub	eax, 1
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -556[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, dp[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add
	lea	rdx, -272[rbp]
	lea	rax, -544[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	max
	mov	rcx, rax
	mov	eax, DWORD PTR -556[rbp]
	cdqe
	imul	rax, rax, 33020
	lea	rdx, dp[rip]
	lea	rsi, [rax+rdx]
	mov	eax, DWORD PTR -552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	add	rax, rsi
	mov	rsi, rcx
	mov	rdi, rax
	call	mov
	jmp	.L14
.L13:
	mov	edx, DWORD PTR -548[rbp]
	lea	rax, -272[rbp]
	mov	esi, edx
	mov	rdi, rax
	call	pow2
	mov	eax, DWORD PTR -556[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	edx, DWORD PTR -564[rbp]
	movsx	rdx, edx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, a[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mul
	mov	eax, DWORD PTR -556[rbp]
	lea	ecx, 1[rax]
	mov	eax, DWORD PTR -552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	movsx	rdx, ecx
	imul	rdx, rdx, 33020
	add	rdx, rax
	lea	rax, dp[rip]
	add	rdx, rax
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	add
	mov	eax, DWORD PTR -556[rbp]
	cdqe
	imul	rax, rax, 33020
	lea	rdx, dp[rip]
	lea	rcx, [rax+rdx]
	mov	eax, DWORD PTR -552[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	lea	rdx, [rcx+rax]
	lea	rax, -272[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	mov
.L14:
	add	DWORD PTR -552[rbp], 1
.L12:
	mov	eax, DWORD PTR m[rip]
	cmp	DWORD PTR -552[rbp], eax
	jl	.L15
	sub	DWORD PTR -556[rbp], 1
.L11:
	cmp	DWORD PTR -556[rbp], 0
	jns	.L16
	mov	eax, DWORD PTR m[rip]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	lea	rdx, -260[rax]
	lea	rax, dp[rip]
	add	rax, rdx
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L18
	call	__stack_chk_fail@PLT
.L18:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	solve, .-solve
	.globl	clear
	.type	clear, @function
clear:
.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	QWORD PTR -8[rbp], rdi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 256
	mov	esi, 0
	mov	rdi, rax
	call	memset@PLT
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 256[rax], 1
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	clear, .-clear
	.globl	add
	.type	add, @function
add:
.LFB4:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	cmp	edx, eax
	cmovge	eax, edx
	add	eax, 10
	mov	DWORD PTR -4[rbp], eax
	mov	DWORD PTR -8[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	add	ecx, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	add	DWORD PTR -8[rbp], 1
.L22:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L23
	mov	DWORD PTR -8[rbp], 0
	jmp	.L24
.L25:
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	esi, edx
	sub	esi, eax
	mov	eax, DWORD PTR -8[rbp]
	lea	edx, 1[rax]
	add	ecx, esi
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	mov	rdx, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR -8[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*4], eax
	add	DWORD PTR -8[rbp], 1
.L24:
	mov	eax, DWORD PTR -8[rbp]
	cmp	eax, DWORD PTR -4[rbp]
	jl	.L25
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	mov	DWORD PTR 256[rax], edx
	jmp	.L26
.L28:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 256[rax], edx
.L26:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L27
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	test	eax, eax
	jns	.L28
.L27:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 256[rax], edx
	mov	rax, QWORD PTR -24[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	add, .-add
	.section	.rodata
.LC1:
	.string	"%d"
.LC2:
	.string	"%03d"
	.text
	.globl	prt
	.type	prt, @function
prt:
.LFB5:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, -1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	sub	eax, 2
	mov	DWORD PTR -4[rbp], eax
	jmp	.L31
.L32:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	sub	DWORD PTR -4[rbp], 1
.L31:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L32
	mov	rax, QWORD PTR -24[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE5:
	.size	prt, .-prt
	.globl	mov
	.type	mov, @function
mov:
.LFB6:
	.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	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rcx, QWORD PTR -16[rbp]
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, 256
	mov	rsi, rcx
	mov	rdi, rax
	call	memcpy@PLT
	mov	rax, QWORD PTR -16[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -8[rbp]
	mov	DWORD PTR 256[rax], edx
	mov	rax, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	mov, .-mov
	.globl	readbg
	.type	readbg, @function
readbg:
.LFB7:
	.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	QWORD PTR -24[rbp], rdi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -12[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, rax
	call	clear
	mov	edx, DWORD PTR -12[rbp]
	mov	DWORD PTR [rax], edx
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 256[rax], 0
	jmp	.L37
.L38:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	mov	esi, edx
	sub	esi, eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, 1[rax]
	add	ecx, esi
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	DWORD PTR [rax+rdx*4], ecx
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	edx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -24[rbp]
	mov	ecx, DWORD PTR 256[rax]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 1000
	mov	eax, edx
	sub	eax, esi
	mov	rdx, QWORD PTR -24[rbp]
	movsx	rcx, ecx
	mov	DWORD PTR [rdx+rcx*4], eax
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	lea	edx, 1[rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	DWORD PTR 256[rax], edx
.L37:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -24[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	test	eax, eax
	jne	.L38
	mov	rax, QWORD PTR -24[rbp]
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L40
	call	__stack_chk_fail@PLT
.L40:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	readbg, .-readbg
	.globl	mul
	.type	mul, @function
mul:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 304
	mov	QWORD PTR -296[rbp], rdi
	mov	QWORD PTR -304[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -304[rbp]
	mov	eax, DWORD PTR 256[rax]
	add	eax, edx
	add	eax, 10
	mov	DWORD PTR -276[rbp], eax
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	clear
	mov	DWORD PTR -284[rbp], 0
	jmp	.L42
.L45:
	mov	DWORD PTR -280[rbp], 0
	jmp	.L43
.L44:
	mov	edx, DWORD PTR -284[rbp]
	mov	eax, DWORD PTR -280[rbp]
	add	eax, edx
	cdqe
	mov	esi, DWORD PTR -272[rbp+rax*4]
	mov	rax, QWORD PTR -296[rbp]
	mov	edx, DWORD PTR -284[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -304[rbp]
	mov	edx, DWORD PTR -280[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	imul	ecx, eax
	mov	edx, ecx
	mov	ecx, DWORD PTR -284[rbp]
	mov	eax, DWORD PTR -280[rbp]
	add	eax, ecx
	add	edx, esi
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	add	DWORD PTR -280[rbp], 1
.L43:
	mov	rax, QWORD PTR -304[rbp]
	mov	eax, DWORD PTR 256[rax]
	cmp	DWORD PTR -280[rbp], eax
	jl	.L44
	add	DWORD PTR -284[rbp], 1
.L42:
	mov	rax, QWORD PTR -296[rbp]
	mov	eax, DWORD PTR 256[rax]
	cmp	DWORD PTR -284[rbp], eax
	jl	.L45
	mov	DWORD PTR -284[rbp], 0
	jmp	.L46
.L47:
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	cdqe
	mov	ecx, DWORD PTR -272[rbp+rax*4]
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	movsx	rdx, eax
	imul	rdx, rdx, 274877907
	shr	rdx, 32
	sar	edx, 6
	sar	eax, 31
	sub	edx, eax
	mov	eax, DWORD PTR -284[rbp]
	add	eax, 1
	add	edx, ecx
	cdqe
	mov	DWORD PTR -272[rbp+rax*4], edx
	mov	eax, DWORD PTR -284[rbp]
	cdqe
	mov	edx, DWORD PTR -272[rbp+rax*4]
	movsx	rax, edx
	imul	rax, rax, 274877907
	shr	rax, 32
	sar	eax, 6
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1000
	mov	eax, edx
	sub	eax, ecx
	mov	edx, DWORD PTR -284[rbp]
	movsx	rdx, edx
	mov	DWORD PTR -272[rbp+rdx*4], eax
	add	DWORD PTR -284[rbp], 1
.L46:
	mov	eax, DWORD PTR -284[rbp]
	cmp	eax, DWORD PTR -276[rbp]
	jl	.L47
	mov	eax, DWORD PTR -276[rbp]
	mov	DWORD PTR -16[rbp], eax
	jmp	.L48
.L50:
	mov	eax, DWORD PTR -16[rbp]
	sub	eax, 1
	mov	DWORD PTR -16[rbp], eax
.L48:
	mov	eax, DWORD PTR -16[rbp]
	cdqe
	mov	eax, DWORD PTR -272[rbp+rax*4]
	test	eax, eax
	jne	.L49
	mov	eax, DWORD PTR -16[rbp]
	test	eax, eax
	jns	.L50
.L49:
	mov	eax, DWORD PTR -16[rbp]
	add	eax, 1
	mov	DWORD PTR -16[rbp], eax
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -296[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mov
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L52
	call	__stack_chk_fail@PLT
.L52:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	mul, .-mul
	.globl	pow2
	.type	pow2, @function
pow2:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 288
	mov	QWORD PTR -280[rbp], rdi
	mov	DWORD PTR -284[rbp], esi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, twopower[rip]
	mov	eax, DWORD PTR [rdx+rax]
	test	eax, eax
	je	.L54
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, twopower[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mov
	mov	rax, QWORD PTR -280[rbp]
	jmp	.L59
.L54:
	lea	rax, -272[rbp]
	mov	rdi, rax
	call	clear
	mov	rax, QWORD PTR -280[rbp]
	mov	rdi, rax
	call	clear
	mov	DWORD PTR -272[rbp], 2
	mov	rax, QWORD PTR -280[rbp]
	mov	DWORD PTR [rax], 1
	jmp	.L56
.L58:
	mov	eax, DWORD PTR -284[rbp]
	and	eax, 1
	test	eax, eax
	je	.L57
	lea	rdx, -272[rbp]
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mul
.L57:
	lea	rdx, -272[rbp]
	lea	rax, -272[rbp]
	mov	rsi, rdx
	mov	rdi, rax
	call	mul
	sar	DWORD PTR -284[rbp]
.L56:
	cmp	DWORD PTR -284[rbp], 0
	jne	.L58
	mov	eax, DWORD PTR -284[rbp]
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 6
	add	rax, rdx
	sal	rax, 2
	mov	rdx, rax
	lea	rax, twopower[rip]
	add	rdx, rax
	mov	rax, QWORD PTR -280[rbp]
	mov	rsi, rax
	mov	rdi, rdx
	call	mov
	mov	rax, QWORD PTR -280[rbp]
.L59:
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L60
	call	__stack_chk_fail@PLT
.L60:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	pow2, .-pow2
	.globl	max
	.type	max, @function
max:
.LFB10:
	.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	QWORD PTR -32[rbp], rsi
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 256[rax]
	cmp	edx, eax
	jle	.L62
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L63
.L62:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR 256[rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR 256[rax]
	cmp	edx, eax
	jge	.L64
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L63
.L64:
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR 256[rax]
	sub	eax, 1
	mov	DWORD PTR -4[rbp], eax
	jmp	.L65
.L68:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jle	.L66
	mov	rax, QWORD PTR -24[rbp]
	jmp	.L63
.L66:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	ecx, DWORD PTR [rax+rdx*4]
	mov	rax, QWORD PTR -32[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	mov	eax, DWORD PTR [rax+rdx*4]
	cmp	ecx, eax
	jge	.L67
	mov	rax, QWORD PTR -32[rbp]
	jmp	.L63
.L67:
	sub	DWORD PTR -4[rbp], 1
.L65:
	cmp	DWORD PTR -4[rbp], 0
	jns	.L68
	mov	rax, QWORD PTR -24[rbp]
.L63:
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE10:
	.size	max, .-max
	.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	"639120.c"
	.text
	.comm	n,4,4
	.comm	m,4,4
	.comm	a,4193540,4
	.comm	dp,4193540,4
	.comm	twopower,23140,4
	.comm	ans,260,4
	.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, #8
	ldr	r0, .L5
	bl	clear
	bl	read
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L3:
	ldr	r0, [fp, #-8]
	bl	solve
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L5
	bl	add
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, .L5+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L3
	ldr	r0, .L5
	bl	prt
	mov	r0, #10
	bl	putchar
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L6:
	.align	2
.L5:
	.word	ans
	.word	n
	.size	main, .-main
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d%d\000"
	.text
	.align	2
	.global	read
	.syntax unified
	.arm
	.fpu softvfp
	.type	read, %function
read:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	ldr	r2, .L12
	ldr	r1, .L12+4
	ldr	r0, .L12+8
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L8
.L11:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L9
.L10:
	ldr	r2, [fp, #-12]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #7
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L12+12
	add	r1, r2, r3
	ldr	r2, [fp, #-8]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	mov	r0, r3
	bl	clear
	mov	r3, r0
	mov	r0, r3
	bl	readbg
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L9:
	ldr	r3, .L12
	ldr	r3, [r3]
	ldr	r2, [fp, #-8]
	cmp	r2, r3
	blt	.L10
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L8:
	ldr	r3, .L12+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L11
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	m
	.word	n
	.word	.LC0
	.word	a
	.size	read, .-read
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	solve
	.syntax unified
	.arm
	.fpu softvfp
	.type	solve, %function
solve:
	@ args = 0, pretend = 0, frame = 544
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #548
	str	r0, [fp, #-552]
	ldr	r3, .L23
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	ldr	r3, .L23+4
	ldr	r3, [r3]
	sub	r3, r3, #1
	str	r3, [fp, #-548]
	b	.L15
.L20:
	ldr	r3, [fp, #-548]
	str	r3, [fp, #-544]
	b	.L16
.L19:
	ldr	r3, .L23+4
	ldr	r2, [r3]
	ldr	r3, [fp, #-548]
	add	r2, r2, r3
	ldr	r3, [fp, #-544]
	sub	r3, r2, r3
	str	r3, [fp, #-540]
	ldr	r3, [fp, #-544]
	cmp	r3, #0
	beq	.L17
	sub	r3, fp, #536
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	pow2
	ldr	r2, [fp, #-548]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-552]
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+8
	add	r2, r3, r2
	sub	r3, fp, #536
	mov	r1, r2
	mov	r0, r3
	bl	mul
	ldr	r3, [fp, #-548]
	add	r1, r3, #1
	ldr	r2, [fp, #-544]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+12
	add	r2, r3, r2
	sub	r3, fp, #536
	mov	r1, r2
	mov	r0, r3
	bl	add
	sub	r3, fp, #276
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	pow2
	ldr	r2, [fp, #-544]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-552]
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+8
	add	r2, r3, r2
	sub	r3, fp, #276
	mov	r1, r2
	mov	r0, r3
	bl	mul
	ldr	r3, [fp, #-544]
	sub	r2, r3, #1
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-548]
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+12
	add	r2, r3, r2
	sub	r3, fp, #276
	mov	r1, r2
	mov	r0, r3
	bl	add
	ldr	r2, [fp, #-548]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #7
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L23+12
	add	r1, r2, r3
	ldr	r2, [fp, #-544]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r4, r1, r3
	sub	r2, fp, #276
	sub	r3, fp, #536
	mov	r1, r2
	mov	r0, r3
	bl	max
	mov	r3, r0
	mov	r1, r3
	mov	r0, r4
	bl	mov
	b	.L18
.L17:
	sub	r3, fp, #276
	ldr	r1, [fp, #-540]
	mov	r0, r3
	bl	pow2
	ldr	r2, [fp, #-548]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	ldr	r1, [fp, #-552]
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+8
	add	r2, r3, r2
	sub	r3, fp, #276
	mov	r1, r2
	mov	r0, r3
	bl	mul
	ldr	r3, [fp, #-548]
	add	r1, r3, #1
	ldr	r2, [fp, #-544]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r1
	lsl	r2, r2, #6
	add	r2, r2, r1
	lsl	r1, r2, #7
	sub	r1, r1, r2
	lsl	r2, r1, #2
	mov	r1, r2
	add	r3, r3, r1
	ldr	r2, .L23+12
	add	r2, r3, r2
	sub	r3, fp, #276
	mov	r1, r2
	mov	r0, r3
	bl	add
	ldr	r2, [fp, #-548]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r2, r3, #7
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	ldr	r3, .L23+12
	add	r1, r2, r3
	ldr	r2, [fp, #-544]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	sub	r2, fp, #276
	mov	r1, r2
	mov	r0, r3
	bl	mov
.L18:
	ldr	r3, [fp, #-544]
	add	r3, r3, #1
	str	r3, [fp, #-544]
.L16:
	ldr	r3, .L23+4
	ldr	r3, [r3]
	ldr	r2, [fp, #-544]
	cmp	r2, r3
	blt	.L19
	ldr	r3, [fp, #-548]
	sub	r3, r3, #1
	str	r3, [fp, #-548]
.L15:
	ldr	r3, [fp, #-548]
	cmp	r3, #0
	bge	.L20
	ldr	r3, .L23+4
	ldr	r3, [r3]
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r3, r3, #260
	ldr	r2, .L23+12
	add	r3, r3, r2
	ldr	r2, .L23
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L22
	bl	__stack_chk_fail
.L22:
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L24:
	.align	2
.L23:
	.word	.LC1
	.word	m
	.word	a
	.word	dp
	.size	solve, .-solve
	.align	2
	.global	clear
	.syntax unified
	.arm
	.fpu softvfp
	.type	clear, %function
clear:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	ldr	r3, [fp, #-8]
	mov	r2, #256
	mov	r1, #0
	mov	r0, r3
	bl	memset
	ldr	r3, [fp, #-8]
	mov	r2, #1
	str	r2, [r3, #256]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	clear, .-clear
	.align	2
	.global	add
	.syntax unified
	.arm
	.fpu softvfp
	.type	add, %function
add:
	@ 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	r3, [fp, #-20]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	add	r3, r3, #10
	str	r3, [fp, #-8]
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L28
.L29:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-12]
	ldr	r3, [r3, r1, lsl #2]
	add	r1, r2, r3
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L28:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L29
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L30
.L31:
	ldr	r3, [fp, #-12]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, .L36
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, [fp, #-12]
	add	r2, r2, #1
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-12]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, .L36
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, [fp, #-16]
	ldr	r1, [fp, #-12]
	str	r2, [r3, r1, lsl #2]
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L30:
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	blt	.L31
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	str	r2, [r3, #256]
	b	.L32
.L34:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #256]
.L32:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L33
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	cmp	r3, #0
	bge	.L34
.L33:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
.L37:
	.align	2
.L36:
	.word	274877907
	.size	add, .-add
	.section	.rodata
	.align	2
.LC2:
	.ascii	"%d\000"
	.align	2
.LC3:
	.ascii	"%03d\000"
	.text
	.align	2
	.global	prt
	.syntax unified
	.arm
	.fpu softvfp
	.type	prt, %function
prt:
	@ 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]
	ldr	r3, [r3, #256]
	sub	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L42
	bl	printf
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	sub	r3, r3, #2
	str	r3, [fp, #-8]
	b	.L39
.L40:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r3, [r3, r2, lsl #2]
	mov	r1, r3
	ldr	r0, .L42+4
	bl	printf
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L39:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L40
	ldr	r3, [fp, #-16]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L43:
	.align	2
.L42:
	.word	.LC2
	.word	.LC3
	.size	prt, .-prt
	.align	2
	.global	mov
	.syntax unified
	.arm
	.fpu softvfp
	.type	mov, %function
mov:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #8
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r1, [fp, #-12]
	mov	r2, #256
	mov	r0, r3
	bl	memcpy
	ldr	r3, [fp, #-12]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-8]
	str	r2, [r3, #256]
	ldr	r3, [fp, #-8]
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
	.size	mov, .-mov
	.section	.rodata
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	readbg
	.syntax unified
	.arm
	.fpu softvfp
	.type	readbg, %function
readbg:
	@ 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, .L51
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #12
	mov	r1, r3
	ldr	r0, .L51+4
	bl	__isoc99_scanf
	ldr	r0, [fp, #-16]
	bl	clear
	mov	r2, r0
	ldr	r3, [fp, #-12]
	str	r3, [r2]
	ldr	r3, [fp, #-16]
	mov	r2, #0
	str	r2, [r3, #256]
	b	.L47
.L48:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, .L51+8
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r3, r2, r3
	ldr	r2, [fp, #-16]
	ldr	r2, [r2, #256]
	add	r2, r2, #1
	add	r1, r1, r3
	ldr	r3, [fp, #-16]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r0, [r3, #256]
	ldr	r3, .L51+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, [fp, #-16]
	str	r2, [r3, r0, lsl #2]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	add	r2, r3, #1
	ldr	r3, [fp, #-16]
	str	r2, [r3, #256]
.L47:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, r2, lsl #2]
	cmp	r3, #0
	bne	.L48
	ldr	r3, [fp, #-16]
	ldr	r2, .L51
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L50
	bl	__stack_chk_fail
.L50:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L52:
	.align	2
.L51:
	.word	.LC4
	.word	.LC2
	.word	274877907
	.size	readbg, .-readbg
	.section	.rodata
	.align	2
.LC5:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	mul
	.syntax unified
	.arm
	.fpu softvfp
	.type	mul, %function
mul:
	@ args = 0, pretend = 0, frame = 288
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #288
	str	r0, [fp, #-288]
	str	r1, [fp, #-292]
	ldr	r3, .L65
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r3, [fp, #-288]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-292]
	ldr	r3, [r3, #256]
	add	r3, r2, r3
	add	r3, r3, #10
	str	r3, [fp, #-272]
	sub	r3, fp, #268
	mov	r0, r3
	bl	clear
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L54
.L57:
	mov	r3, #0
	str	r3, [fp, #-276]
	b	.L55
.L56:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-276]
	add	r3, r2, r3
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-264]
	ldr	r3, [fp, #-288]
	ldr	r2, [fp, #-280]
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, [fp, #-292]
	ldr	r0, [fp, #-276]
	ldr	r2, [r2, r0, lsl #2]
	mul	r2, r3, r2
	ldr	r0, [fp, #-280]
	ldr	r3, [fp, #-276]
	add	r3, r0, r3
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-264]
	ldr	r3, [fp, #-276]
	add	r3, r3, #1
	str	r3, [fp, #-276]
.L55:
	ldr	r3, [fp, #-292]
	ldr	r3, [r3, #256]
	ldr	r2, [fp, #-276]
	cmp	r2, r3
	blt	.L56
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L54:
	ldr	r3, [fp, #-288]
	ldr	r3, [r3, #256]
	ldr	r2, [fp, #-280]
	cmp	r2, r3
	blt	.L57
	mov	r3, #0
	str	r3, [fp, #-280]
	b	.L58
.L59:
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-264]
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-264]
	ldr	r2, .L65+4
	smull	r0, r2, r3, r2
	asr	r2, r2, #6
	asr	r3, r3, #31
	sub	r2, r2, r3
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	add	r2, r1, r2
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-264]
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r1, [r3, #-264]
	ldr	r3, .L65+4
	smull	r2, r3, r1, r3
	asr	r2, r3, #6
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #5
	sub	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #3
	sub	r2, r1, r3
	ldr	r3, [fp, #-280]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-264]
	ldr	r3, [fp, #-280]
	add	r3, r3, #1
	str	r3, [fp, #-280]
.L58:
	ldr	r2, [fp, #-280]
	ldr	r3, [fp, #-272]
	cmp	r2, r3
	blt	.L59
	ldr	r3, [fp, #-272]
	str	r3, [fp, #-12]
	b	.L60
.L62:
	ldr	r3, [fp, #-12]
	sub	r3, r3, #1
	str	r3, [fp, #-12]
.L60:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #2
	sub	r2, fp, #4
	add	r3, r2, r3
	ldr	r3, [r3, #-264]
	cmp	r3, #0
	bne	.L61
	ldr	r3, [fp, #-12]
	cmp	r3, #0
	bge	.L62
.L61:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, [fp, #-288]
	bl	mov
	mov	r3, r0
	ldr	r2, .L65
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L64
	bl	__stack_chk_fail
.L64:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L66:
	.align	2
.L65:
	.word	.LC5
	.word	274877907
	.size	mul, .-mul
	.section	.rodata
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	pow2
	.syntax unified
	.arm
	.fpu softvfp
	.type	pow2, %function
pow2:
	@ args = 0, pretend = 0, frame = 272
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #272
	str	r0, [fp, #-272]
	str	r1, [fp, #-276]
	ldr	r3, .L75
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r1, .L75+4
	ldr	r2, [fp, #-276]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r1, r3
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L68
	ldr	r2, [fp, #-276]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L75+4
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	mov
	ldr	r3, [fp, #-272]
	b	.L73
.L68:
	sub	r3, fp, #268
	mov	r0, r3
	bl	clear
	ldr	r0, [fp, #-272]
	bl	clear
	mov	r3, #2
	str	r3, [fp, #-268]
	ldr	r3, [fp, #-272]
	mov	r2, #1
	str	r2, [r3]
	b	.L70
.L72:
	ldr	r3, [fp, #-276]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L71
	sub	r3, fp, #268
	mov	r1, r3
	ldr	r0, [fp, #-272]
	bl	mul
.L71:
	sub	r2, fp, #268
	sub	r3, fp, #268
	mov	r1, r2
	mov	r0, r3
	bl	mul
	ldr	r3, [fp, #-276]
	asr	r3, r3, #1
	str	r3, [fp, #-276]
.L70:
	ldr	r3, [fp, #-276]
	cmp	r3, #0
	bne	.L72
	ldr	r2, [fp, #-276]
	mov	r3, r2
	lsl	r3, r3, #6
	add	r3, r3, r2
	lsl	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L75+4
	add	r3, r2, r3
	ldr	r1, [fp, #-272]
	mov	r0, r3
	bl	mov
	ldr	r3, [fp, #-272]
.L73:
	ldr	r2, .L75
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L74
	bl	__stack_chk_fail
.L74:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L76:
	.align	2
.L75:
	.word	.LC6
	.word	twopower
	.size	pow2, .-pow2
	.align	2
	.global	max
	.syntax unified
	.arm
	.fpu softvfp
	.type	max, %function
max:
	@ 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	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #256]
	cmp	r2, r3
	ble	.L78
	ldr	r3, [fp, #-16]
	b	.L79
.L78:
	ldr	r3, [fp, #-16]
	ldr	r2, [r3, #256]
	ldr	r3, [fp, #-20]
	ldr	r3, [r3, #256]
	cmp	r2, r3
	bge	.L80
	ldr	r3, [fp, #-20]
	b	.L79
.L80:
	ldr	r3, [fp, #-16]
	ldr	r3, [r3, #256]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
	b	.L81
.L84:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	ble	.L82
	ldr	r3, [fp, #-16]
	b	.L79
.L82:
	ldr	r3, [fp, #-16]
	ldr	r2, [fp, #-8]
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, [fp, #-20]
	ldr	r1, [fp, #-8]
	ldr	r3, [r3, r1, lsl #2]
	cmp	r2, r3
	bge	.L83
	ldr	r3, [fp, #-20]
	b	.L79
.L83:
	ldr	r3, [fp, #-8]
	sub	r3, r3, #1
	str	r3, [fp, #-8]
.L81:
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	bge	.L84
	ldr	r3, [fp, #-16]
.L79:
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	max, .-max
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
