	.file	"69905.c"
	.intel_syntax noprefix
	.text
	.globl	d
	.bss
	.align 8
	.type	d, @object
	.size	d, 8
d:
	.zero	8
	.globl	D
	.align 32
	.type	D, @object
	.size	D, 39996
D:
	.zero	39996
	.globl	N
	.data
	.align 4
	.type	N, @object
	.size	N, 4
N:
	.long	20
	.globl	L
	.align 4
	.type	L, @object
	.size	L, 4
L:
	.long	4
	.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	k
	.align 4
	.type	k, @object
	.size	k, 4
k:
	.zero	4
	.globl	a
	.align 8
	.type	a, @object
	.size	a, 12
a:
	.zero	12
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	p
	.align 8
	.type	p, @object
	.size	p, 8
p:
	.zero	8
	.globl	q
	.align 8
	.type	q, @object
	.size	q, 8
q:
	.zero	8
	.globl	S
	.data
	.align 32
	.type	S, @object
	.size	S, 2000
S:
	.string	"L@X-SGD-HNBBB-AD-VHSG--XNT\033[2J\033[H"
	.zero	1966
	.globl	s
	.section	.data.rel.local,"aw"
	.align 8
	.type	s, @object
	.size	s, 8
s:
	.quad	S
	.globl	G
	.section	.rodata
	.align 8
.LC0:
	.string	"r2zZX!.+@KBK^yh.!:%Bud!.+Jyh.!6.BHBhp!6.BHBh!:%Buv{VT!.hBJ6p!042ljn!284b}`!.hR6Dp!.hp!h.T6p!h.p6!2/LilqP72!h.+@QB!~}lqP72/Lil!h.+@QBFp!:)0?F]nwf!,82v!.sv{6!.l6!,j<n8!.xN6t!&NvN*!.6hp"
	.section	.data.rel.local
	.align 8
	.type	G, @object
	.size	G, 8
G:
	.quad	.LC0
	.globl	X
	.bss
	.align 32
	.type	X, @object
	.size	X, 48
X:
	.zero	48
	.globl	P
	.align 8
	.type	P, @object
	.size	P, 16
P:
	.zero	16
	.globl	O
	.align 8
	.type	O, @object
	.size	O, 16
O:
	.zero	16
	.text
	.globl	B
	.type	B, @function
B:
.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, 32
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	subsd	xmm0, QWORD PTR -24[rbp]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR X[rip+16]
	movsd	xmm2, QWORD PTR X[rip+24]
	movapd	xmm3, xmm1
	mulsd	xmm3, xmm0
	mulsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR -16[rbp]
	addsd	xmm0, xmm0
	mulsd	xmm0, QWORD PTR -24[rbp]
	movsd	xmm1, QWORD PTR X[rip]
	movsd	xmm4, QWORD PTR X[rip+8]
	mulsd	xmm1, xmm0
	mulsd	xmm0, xmm4
	addsd	xmm3, xmm1
	addsd	xmm2, xmm0
	movsd	xmm0, QWORD PTR -24[rbp]
	mulsd	xmm0, xmm0
	movsd	xmm1, QWORD PTR X[rip+32]
	movsd	xmm4, QWORD PTR X[rip+40]
	mulsd	xmm1, xmm0
	mulsd	xmm0, xmm4
	addsd	xmm3, xmm1
	addsd	xmm2, xmm0
	movsd	xmm1, QWORD PTR O[rip]
	movsd	xmm0, QWORD PTR O[rip+8]
	addsd	xmm1, xmm3
	addsd	xmm0, xmm2
	movsd	QWORD PTR P[rip], xmm1
	movsd	QWORD PTR P[rip+8], xmm0
	mov	rax, QWORD PTR P[rip]
	movsd	xmm0, QWORD PTR P[rip+8]
	movsd	xmm1, QWORD PTR .LC1[rip]
	movapd	xmm3, xmm1
	pxor	xmm2, xmm2
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	__muldc3@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR P[rip]
	movsd	QWORD PTR -16[rbp], xmm0
	movsd	xmm1, QWORD PTR -16[rbp]
	pxor	xmm0, xmm0
	addsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR .LC3[rip]
	movapd	xmm2, xmm1
	mulsd	xmm2, xmm0
	movsd	xmm1, QWORD PTR .LC3[rip]
	movsd	xmm0, QWORD PTR .LC3[rip]
	mulsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movsd	xmm3, QWORD PTR .LC1[rip]
	comisd	xmm0, xmm3
	jbe	.L7
	movsd	xmm0, QWORD PTR -8[rbp]
	jmp	.L4
.L7:
	movsd	xmm0, QWORD PTR .LC1[rip]
.L4:
	divsd	xmm2, xmm0
	divsd	xmm1, xmm0
	movq	rax, xmm2
	movq	rdx, xmm1
	movq	xmm1, rdx
	movq	xmm0, rax
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	B, .-B
	.globl	b
	.type	b, @function
b:
.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, 48
	movsd	QWORD PTR -24[rbp], xmm0
	movsd	QWORD PTR -32[rbp], xmm1
	mov	rax, QWORD PTR -24[rbp]
	movq	xmm0, rax
	call	B
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	rdx, rax
	movq	rax, xmm0
	mov	QWORD PTR -40[rbp], rdx
	mov	QWORD PTR -48[rbp], rax
	mov	rax, QWORD PTR -32[rbp]
	movq	xmm0, rax
	call	B
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	rdx, rax
	movq	rax, xmm0
	movq	xmm0, rdx
	movq	xmm2, rax
	movsd	xmm1, QWORD PTR -40[rbp]
	subsd	xmm1, xmm0
	movsd	xmm0, QWORD PTR -48[rbp]
	subsd	xmm0, xmm2
	movsd	QWORD PTR P[rip], xmm1
	movsd	QWORD PTR P[rip+8], xmm0
	movsd	xmm0, QWORD PTR P[rip]
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR -8[rbp]
	movapd	xmm1, xmm0
	addsd	xmm1, xmm0
	movsd	xmm2, QWORD PTR P[rip]
	movsd	xmm0, QWORD PTR P[rip+8]
	subsd	xmm1, xmm2
	movq	rax, xmm1
	movq	xmm1, QWORD PTR .LC4[rip]
	xorpd	xmm0, xmm1
	movsd	xmm1, QWORD PTR P[rip]
	movsd	xmm2, QWORD PTR P[rip+8]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	__muldc3@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	movsd	QWORD PTR -8[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC1[rip]
	comisd	xmm0, QWORD PTR -8[rbp]
	jbe	.L23
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	call	B
	movq	rax, xmm0
	movapd	xmm0, xmm1
	mov	rdx, rax
	movq	rax, xmm0
	movq	xmm1, rdx
	movq	xmm0, rax
	movsd	QWORD PTR P[rip], xmm1
	movsd	QWORD PTR P[rip+8], xmm0
	movsd	xmm0, QWORD PTR P[rip]
	cvttsd2si	eax, xmm0
	mov	DWORD PTR m[rip], eax
	mov	rax, QWORD PTR P[rip]
	movsd	xmm0, QWORD PTR P[rip+8]
	movsd	xmm2, QWORD PTR .LC6[rip]
	movsd	xmm1, QWORD PTR .LC7[rip]
	movapd	xmm3, xmm2
	movapd	xmm2, xmm1
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	__muldc3@PLT
	movq	rax, xmm0
	movq	xmm0, rax
	cvttsd2si	eax, xmm0
	mov	DWORD PTR k[rip], eax
	mov	eax, DWORD PTR m[rip]
	cmp	eax, -40
	jl	.L24
	mov	eax, DWORD PTR m[rip]
	cmp	eax, 38
	jg	.L24
	mov	eax, DWORD PTR k[rip]
	cmp	eax, 9
	jle	.L24
	mov	eax, DWORD PTR k[rip]
	cmp	eax, 47
	jg	.L24
	mov	eax, DWORD PTR k[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 4
	lea	edx, 73[rax]
	mov	eax, DWORD PTR m[rip]
	add	eax, edx
	mov	DWORD PTR m[rip], eax
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, S[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 73
	je	.L12
	mov	eax, DWORD PTR k[rip]
	and	eax, 1
	test	eax, eax
	je	.L13
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, S[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 94
	je	.L14
	mov	eax, 95
	jmp	.L19
.L14:
	mov	eax, 73
	jmp	.L19
.L13:
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, S[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	cmp	al, 95
	je	.L17
	mov	eax, 94
	jmp	.L19
.L17:
	mov	eax, 73
	jmp	.L19
.L12:
	mov	eax, 73
.L19:
	mov	edx, DWORD PTR m[rip]
	movsx	rdx, edx
	lea	rcx, S[rip]
	mov	BYTE PTR [rdx+rcx], al
	jmp	.L24
.L23:
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	mov	rax, QWORD PTR -24[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	b
	movsd	xmm0, QWORD PTR -24[rbp]
	addsd	xmm0, QWORD PTR -32[rbp]
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	movsd	xmm0, QWORD PTR -32[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	call	b
.L24:
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	b, .-b
	.section	.rodata
.LC8:
	.string	"r"
	.align 8
.LC10:
	.string	"/&&&##%%##.+),A$$$$'&&'&&((%-((#'/#%%#&#&&#D&"
	.text
	.globl	main
	.type	main, @function
main:
.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, 32
	mov	DWORD PTR -20[rbp], edi
	mov	QWORD PTR -32[rbp], rsi
	call	clock@PLT
	mov	QWORD PTR -16[rbp], rax
	lea	rax, D[rip]
	mov	QWORD PTR d[rip], rax
	jmp	.L26
.L29:
	mov	rax, QWORD PTR s[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 63
	jle	.L28
	mov	eax, DWORD PTR m[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	mov	ecx, eax
	sar	ecx, 31
	sub	edx, ecx
	mov	ecx, edx
	sal	ecx, 3
	sub	ecx, edx
	sub	eax, ecx
	mov	edx, eax
	mov	ecx, edx
	sal	ecx, 4
	mov	rax, QWORD PTR d[rip]
	lea	rdx, 4[rax]
	mov	QWORD PTR d[rip], rdx
	lea	edx, -56[rcx]
	mov	DWORD PTR [rax], edx
	mov	eax, DWORD PTR m[rip]
	movsx	rdx, eax
	imul	rdx, rdx, -1840700269
	shr	rdx, 32
	add	edx, eax
	sar	edx, 2
	sar	eax, 31
	mov	ecx, edx
	sub	ecx, eax
	mov	rdx, QWORD PTR d[rip]
	lea	rax, 4[rdx]
	mov	QWORD PTR d[rip], rax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	lea	ecx, 0[0+rax*4]
	add	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	rax, QWORD PTR s[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	ecx, al
	mov	rax, QWORD PTR d[rip]
	lea	rdx, 4[rax]
	mov	QWORD PTR d[rip], rdx
	lea	edx, -64[rcx]
	mov	DWORD PTR [rax], edx
.L28:
	mov	eax, DWORD PTR m[rip]
	add	eax, 1
	mov	DWORD PTR m[rip], eax
	mov	rax, QWORD PTR s[rip]
	add	rax, 1
	mov	QWORD PTR s[rip], rax
.L26:
	mov	eax, DWORD PTR m[rip]
	cmp	eax, 25
	jle	.L29
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	test	rax, rax
	je	.L39
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	lea	rsi, .LC8[rip]
	mov	rdi, rax
	call	fopen@PLT
	mov	QWORD PTR -8[rbp], rax
	lea	rax, D[rip]
	mov	QWORD PTR d[rip], rax
	mov	DWORD PTR m[rip], 0
	mov	eax, DWORD PTR m[rip]
	mov	DWORD PTR N[rip], eax
	mov	eax, DWORD PTR N[rip]
	mov	DWORD PTR L[rip], eax
	jmp	.L31
.L38:
	cmp	DWORD PTR -20[rbp], 13
	jle	.L32
	cmp	DWORD PTR -20[rbp], 64
	jle	.L34
	cmp	DWORD PTR -20[rbp], 90
	jg	.L34
	mov	ecx, DWORD PTR m[rip]
	mov	rax, QWORD PTR d[rip]
	lea	rdx, 4[rax]
	mov	QWORD PTR d[rip], rdx
	sal	ecx, 4
	mov	edx, ecx
	mov	DWORD PTR [rax], edx
	mov	ecx, DWORD PTR L[rip]
	mov	rdx, QWORD PTR d[rip]
	lea	rax, 4[rdx]
	mov	QWORD PTR d[rip], rax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	lea	ecx, 0[0+rax*4]
	add	eax, ecx
	mov	DWORD PTR [rdx], eax
	mov	rcx, QWORD PTR d[rip]
	lea	rax, 4[rcx]
	mov	QWORD PTR d[rip], rax
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1321528399
	shr	rax, 32
	sar	eax, 3
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	imul	esi, eax, 26
	mov	eax, edx
	sub	eax, esi
	mov	DWORD PTR [rcx], eax
	nop
.L34:
	mov	eax, DWORD PTR m[rip]
	add	eax, 1
	mov	DWORD PTR m[rip], eax
	mov	eax, 0
	jmp	.L35
.L32:
	mov	eax, 1
.L35:
	test	al, al
	je	.L31
	mov	eax, DWORD PTR L[rip]
	add	eax, 1
	mov	DWORD PTR L[rip], eax
	jmp	.L36
.L37:
	mov	edx, DWORD PTR N[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, D[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR m[rip]
	lea	esi, 0[0+rax*8]
	mov	edx, DWORD PTR N[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	sub	ecx, esi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, D[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR N[rip]
	add	eax, 1
	mov	DWORD PTR N[rip], eax
.L36:
	mov	rax, QWORD PTR d[rip]
	lea	rdx, D[rip]
	sub	rax, rdx
	sar	rax, 2
	mov	rcx, rax
	mov	edx, DWORD PTR N[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	cdqe
	cmp	rcx, rax
	jg	.L37
	mov	DWORD PTR m[rip], 0
	mov	eax, DWORD PTR m[rip]
	test	eax, eax
	jne	.L37
.L31:
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fgetc@PLT
	mov	DWORD PTR -20[rbp], eax
	cmp	DWORD PTR -20[rbp], 0
	jg	.L38
	mov	rax, QWORD PTR -8[rbp]
	mov	rdi, rax
	call	fclose@PLT
	test	eax, eax
	jne	.L38
	jmp	.L39
.L59:
	mov	DWORD PTR n[rip], 0
	lea	rax, S[rip+33]
	mov	QWORD PTR p[rip], rax
	jmp	.L40
.L43:
	mov	edx, DWORD PTR n[rip]
	lea	eax, 1[rdx]
	mov	DWORD PTR n[rip], eax
	movsx	rax, edx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 5
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	sal	eax, 4
	mov	ecx, edx
	sub	ecx, eax
	cmp	ecx, 78
	jle	.L41
	mov	ecx, 10
	jmp	.L42
.L41:
	mov	ecx, 32
.L42:
	mov	rax, QWORD PTR p[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR p[rip], rdx
	mov	BYTE PTR [rax], cl
.L40:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 1919
	jle	.L43
	mov	DWORD PTR -20[rbp], 0
	mov	rax, QWORD PTR p[rip]
	mov	BYTE PTR [rax], 0
	lea	rax, D[rip]
	mov	QWORD PTR d[rip], rax
	jmp	.L44
.L57:
	mov	rax, QWORD PTR d[rip]
	add	rax, 4
	mov	eax, DWORD PTR [rax]
	mov	edx, DWORD PTR i[rip]
	sub	eax, edx
	sub	eax, 40
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	pxor	xmm1, xmm1
	movaps	xmm2, xmm1
	mulss	xmm2, xmm0
	mov	rax, QWORD PTR d[rip]
	mov	eax, DWORD PTR [rax]
	pxor	xmm1, xmm1
	cvtsi2ss	xmm1, eax
	addss	xmm1, xmm2
	cvtss2sd	xmm1, xmm1
	cvtss2sd	xmm0, xmm0
	movsd	QWORD PTR O[rip], xmm1
	movsd	QWORD PTR O[rip+8], xmm0
	mov	rax, QWORD PTR d[rip]
	mov	eax, DWORD PTR 8[rax]
	mov	DWORD PTR n[rip], eax
	mov	rax, QWORD PTR G[rip]
	mov	QWORD PTR p[rip], rax
	jmp	.L45
.L47:
	nop
.L46:
	mov	rax, QWORD PTR p[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR p[rip], rdx
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	jg	.L46
.L45:
	mov	eax, DWORD PTR n[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR n[rip], edx
	test	eax, eax
	jne	.L47
	mov	rax, QWORD PTR p[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR p[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR a[rip+4], eax
	mov	eax, DWORD PTR a[rip+4]
	mov	DWORD PTR a[rip], eax
	jmp	.L48
.L56:
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	and	eax, 1
	test	al, al
	je	.L49
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR a[rip], eax
	mov	eax, 0
	jmp	.L50
.L49:
	mov	eax, 1
.L50:
	test	al, al
	je	.L51
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR a[rip+8], eax
	mov	DWORD PTR m[rip], 0
	jmp	.L52
.L55:
	mov	eax, DWORD PTR m[rip]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, a[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	sub	eax, 18
	mov	DWORD PTR k[rip], eax
	lea	rax, .LC10[rip]
	mov	QWORD PTR q[rip], rax
	mov	DWORD PTR n[rip], 2
	jmp	.L53
.L54:
	mov	rax, QWORD PTR q[rip]
	lea	rdx, 1[rax]
	mov	QWORD PTR q[rip], rdx
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	lea	edx, -34[rax]
	mov	eax, DWORD PTR n[rip]
	add	eax, edx
	mov	DWORD PTR n[rip], eax
.L53:
	mov	eax, DWORD PTR k[rip]
	lea	edx, -1[rax]
	mov	DWORD PTR k[rip], edx
	test	eax, eax
	jne	.L54
	mov	eax, DWORD PTR n[rip]
	movsx	rdx, eax
	imul	rdx, rdx, 1321528399
	shr	rdx, 32
	sar	edx, 2
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	pxor	xmm0, xmm0
	cvtsi2ss	xmm0, eax
	mov	edx, DWORD PTR n[rip]
	movsx	rax, edx
	imul	rax, rax, 1321528399
	shr	rax, 32
	sar	eax, 2
	mov	esi, edx
	sar	esi, 31
	sub	eax, esi
	mov	ecx, eax
	mov	eax, ecx
	add	eax, eax
	add	eax, ecx
	sal	eax, 2
	add	eax, ecx
	mov	ecx, edx
	sub	ecx, eax
	pxor	xmm2, xmm2
	cvtsi2ss	xmm2, ecx
	pxor	xmm1, xmm1
	mulss	xmm1, xmm0
	addss	xmm1, xmm2
	cvtss2sd	xmm1, xmm1
	cvtss2sd	xmm0, xmm0
	mov	eax, DWORD PTR m[rip]
	cdqe
	sal	rax, 4
	mov	rdx, rax
	lea	rax, X[rip]
	movsd	QWORD PTR [rdx+rax], xmm1
	movsd	QWORD PTR 8[rdx+rax], xmm0
	mov	eax, DWORD PTR m[rip]
	add	eax, 1
	mov	DWORD PTR m[rip], eax
.L52:
	mov	eax, DWORD PTR m[rip]
	cmp	eax, 2
	jle	.L55
	movsd	xmm0, QWORD PTR .LC1[rip]
	movapd	xmm1, xmm0
	pxor	xmm0, xmm0
	call	b
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	movsx	eax, al
	mov	DWORD PTR a[rip+4], eax
	mov	eax, DWORD PTR a[rip+4]
	mov	DWORD PTR a[rip], eax
.L51:
	mov	rax, QWORD PTR p[rip]
	add	rax, 1
	mov	QWORD PTR p[rip], rax
.L48:
	mov	rax, QWORD PTR p[rip]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 33
	jg	.L56
	add	DWORD PTR -20[rbp], 1
	mov	rax, QWORD PTR d[rip]
	add	rax, 12
	mov	QWORD PTR d[rip], rax
.L44:
	mov	eax, DWORD PTR N[rip]
	cmp	DWORD PTR -20[rbp], eax
	jl	.L57
	mov	rax, QWORD PTR s[rip]
	mov	rdi, rax
	call	puts@PLT
	lea	rax, S[rip+30]
	mov	QWORD PTR s[rip], rax
	nop
.L58:
	call	clock@PLT
	sub	rax, QWORD PTR -16[rbp]
	mov	rdx, rax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	add	rax, rax
	mov	rdx, rax
	mov	eax, DWORD PTR i[rip]
	cdqe
	imul	rax, rax, 1000000
	cmp	rdx, rax
	jl	.L58
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L39:
	mov	edx, DWORD PTR L[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	lea	edx, 0[0+rax*4]
	add	eax, edx
	lea	edx, 199[rax]
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jge	.L59
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC1:
	.long	0
	.long	1072693248
	.align 8
.LC3:
	.long	0
	.long	1078460416
	.align 16
.LC4:
	.long	0
	.long	-2147483648
	.long	0
	.long	0
	.align 8
.LC5:
	.long	0
	.long	1073741824
	.align 8
.LC6:
	.long	0
	.long	-1074790400
	.align 8
.LC7:
	.long	0
	.long	-2147483648
	.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	"69905.c"
	.text
	.comm	d,4,4
	.comm	D,39996,4
	.global	N
	.data
	.align	2
	.type	N, %object
	.size	N, 4
N:
	.word	20
	.global	L
	.align	2
	.type	L, %object
	.size	L, 4
L:
	.word	4
	.comm	n,4,4
	.comm	m,4,4
	.comm	k,4,4
	.comm	a,12,4
	.comm	i,4,4
	.comm	p,4,4
	.comm	q,4,4
	.global	S
	.align	2
	.type	S, %object
	.size	S, 2000
S:
	.ascii	"L@X-SGD-HNBBB-AD-VHSG--XNT\033[2J\033[H\000"
	.space	1966
	.global	s
	.align	2
	.type	s, %object
	.size	s, 4
s:
	.word	S
	.global	G
	.section	.rodata
	.align	2
.LC0:
	.ascii	"r2zZX!.+@KBK^yh.!:%Bud!.+Jyh.!6.BHBhp!6.BHBh!:%Buv{"
	.ascii	"VT!.hBJ6p!042ljn!284b}`!.hR6Dp!.hp!h.T6p!h.p6!2/Lil"
	.ascii	"qP72!h.+@QB!~}lqP72/Lil!h.+@QBFp!:)0?F]nwf!,82v!.sv"
	.ascii	"{6!.l6!,j<n8!.xN6t!&NvN*!.6hp\000"
	.data
	.align	2
	.type	G, %object
	.size	G, 4
G:
	.word	.LC0
	.comm	X,48,8
	.comm	P,16,8
	.comm	O,16,8
	.global	__aeabi_dsub
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_dcmpgt
	.global	__aeabi_ddiv
	.section	.rodata
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	B
	.syntax unified
	.arm
	.fpu softvfp
	.type	B, %function
B:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #96
	str	r0, [fp, #-56]
	str	r2, [fp, #-68]
	str	r3, [fp, #-64]
	ldr	r3, .L9
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r0, #0
	ldr	r1, .L9+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L9+8
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+8
	add	r5, r1, #24
	ldmia	r5, {r4-r5}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L9+8
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+8
	add	r5, r1, #8
	ldmia	r5, {r4-r5}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-100]
	str	r3, [fp, #-96]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	sub	r1, fp, #68
	ldmia	r1, {r0-r1}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	ldr	r3, .L9+8
	add	r3, r3, #32
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+8
	add	r5, r1, #40
	ldmia	r5, {r4-r5}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-92]
	str	r3, [fp, #-88]
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	sub	r3, fp, #100
	ldmia	r3, {r2-r3}
	sub	r1, fp, #92
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, r8
	mov	r3, r9
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	ldr	r3, .L9+12
	ldmia	r3, {r2-r3}
	ldr	r1, .L9+12
	add	r5, r1, #8
	ldmia	r5, {r4-r5}
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, r4
	mov	r3, r5
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L9+16
	stm	r1, {r6-r7}
	ldr	r1, .L9+16
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, .L9+16
	ldmia	r3, {r0-r1}
	ldr	r3, .L9+16
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	ip, fp, #84
	mov	r4, #0
	ldr	r5, .L9+4
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	mov	r4, #0
	mov	r5, #0
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r0, ip
	bl	__muldc3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	ldr	r3, .L9+16
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-52]
	str	r3, [fp, #-48]
	mov	r2, #0
	mov	r3, #0
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	ldr	r3, .L9+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r0, #0
	ldr	r1, .L9+20
	mov	r2, #0
	ldr	r3, .L9+20
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	mov	r2, #0
	ldr	r3, .L9+4
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L8
	sub	r5, fp, #44
	ldmia	r5, {r4-r5}
	b	.L4
.L8:
	mov	r4, #0
	ldr	r5, .L9+4
.L4:
	mov	r2, r4
	mov	r3, r5
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	mov	r2, r4
	mov	r3, r5
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-56]
	stm	r1, {r6-r7}
	ldr	r1, [fp, #-56]
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, .L9
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L6
	bl	__stack_chk_fail
.L6:
	ldr	r0, [fp, #-56]
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L10:
	.align	2
.L9:
	.word	.LC1
	.word	1072693248
	.word	X
	.word	O
	.word	P
	.word	1078460416
	.size	B, .-B
	.global	__aeabi_dcmplt
	.global	__aeabi_d2iz
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	b
	.syntax unified
	.arm
	.fpu softvfp
	.type	b, %function
b:
	@ args = 0, pretend = 0, frame = 56
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #80
	str	r0, [fp, #-52]
	str	r1, [fp, #-48]
	str	r2, [fp, #-60]
	str	r3, [fp, #-56]
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	sub	r1, fp, #76
	sub	r3, fp, #52
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	B
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	mov	r6, r0
	mov	r7, r1
	mov	r8, r2
	mov	r9, r3
	sub	r1, fp, #76
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	mov	r0, r1
	bl	B
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-84]
	str	r3, [fp, #-80]
	mov	r2, r0
	mov	r3, r1
	mov	r0, r6
	mov	r1, r7
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r6, r2
	mov	r7, r3
	sub	r3, fp, #84
	ldmia	r3, {r2-r3}
	mov	r0, r8
	mov	r1, r9
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r1, .L29+4
	stm	r1, {r6-r7}
	ldr	r1, .L29+4
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, .L29+4
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	mov	r2, r0
	mov	r3, r1
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L29+4
	ldmia	r3, {r2-r3}
	ldr	ip, .L29+4
	add	r7, ip, #8
	ldmia	r7, {r6-r7}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r8, r2
	mov	r9, r3
	mov	r4, r6
	eor	r5, r7, #-2147483648
	ldr	r3, .L29+4
	ldmia	r3, {r2-r3}
	ldr	r1, .L29+4
	add	r1, r1, #8
	ldmia	r1, {r0-r1}
	sub	ip, fp, #76
	str	r0, [sp, #16]
	str	r1, [sp, #20]
	str	r2, [sp, #8]
	str	r3, [sp, #12]
	stm	sp, {r4-r5}
	mov	r2, r8
	mov	r3, r9
	mov	r0, ip
	bl	__muldc3
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	str	r2, [fp, #-44]
	str	r3, [fp, #-40]
	mov	r2, #0
	ldr	r3, .L29+8
	sub	r1, fp, #44
	ldmia	r1, {r0-r1}
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L27
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #76
	mov	r0, r1
	bl	B
	sub	r1, fp, #76
	ldmia	r1, {r0-r1}
	sub	r3, fp, #68
	ldmia	r3, {r2-r3}
	ldr	ip, .L29+4
	stm	ip, {r0-r1}
	ldr	r1, .L29+4
	str	r2, [r1, #8]
	str	r3, [r1, #12]
	ldr	r3, .L29+4
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L29+12
	str	r3, [r2]
	ldr	r3, .L29+4
	ldmia	r3, {r0-r1}
	ldr	r3, .L29+4
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	sub	ip, fp, #76
	mov	r4, #0
	ldr	r5, .L29+16
	str	r4, [sp, #16]
	str	r5, [sp, #20]
	mov	r4, #0
	mov	r5, #-2147483648
	str	r4, [sp, #8]
	str	r5, [sp, #12]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	mov	r0, ip
	bl	__muldc3
	sub	r3, fp, #76
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	ldr	r2, .L29+20
	str	r3, [r2]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	cmn	r3, #40
	blt	.L28
	ldr	r3, .L29+12
	ldr	r3, [r3]
	cmp	r3, #38
	bgt	.L28
	ldr	r3, .L29+20
	ldr	r3, [r3]
	cmp	r3, #9
	ble	.L28
	ldr	r3, .L29+20
	ldr	r3, [r3]
	cmp	r3, #47
	bgt	.L28
	ldr	r3, .L29+20
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	add	r2, r3, #73
	ldr	r3, .L29+12
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L29+12
	str	r3, [r2]
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, .L29+24
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #73
	beq	.L15
	ldr	r3, .L29+20
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L16
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, .L29+24
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #94
	beq	.L17
	mov	r3, #95
	b	.L22
.L17:
	mov	r3, #73
	b	.L22
.L16:
	ldr	r3, .L29+12
	ldr	r3, [r3]
	ldr	r2, .L29+24
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	cmp	r3, #95
	beq	.L20
	mov	r3, #94
	b	.L22
.L20:
	mov	r3, #73
	b	.L22
.L15:
	mov	r3, #73
.L22:
	ldr	r2, .L29+12
	ldr	r2, [r2]
	ldr	r1, .L29+24
	strb	r3, [r1, r2]
	b	.L28
.L27:
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	b
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	sub	r1, fp, #52
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	mov	r2, #0
	mov	r3, #1073741824
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	sub	r3, fp, #60
	ldmia	r3, {r2-r3}
	bl	b
.L28:
	nop
	ldr	r3, .L29
	ldr	r2, [r3]
	ldr	r3, [fp, #-32]
	eors	r2, r3, r2
	mov	r3, #0
	beq	.L25
	bl	__stack_chk_fail
.L25:
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC2
	.word	P
	.word	1072693248
	.word	m
	.word	-1074790400
	.word	k
	.word	S
	.size	b, .-b
	.section	.rodata
	.align	2
.LC3:
	.ascii	"r\000"
	.global	__aeabi_i2f
	.global	__aeabi_fmul
	.global	__aeabi_fadd
	.global	__aeabi_f2d
	.align	2
.LC4:
	.ascii	"/&&&##%%##.+),A$$$$'&&'&&((%-((#'/#%%#&#&&#D&\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, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #16
	str	r0, [fp, #-32]
	str	r1, [fp, #-36]
	bl	clock
	str	r0, [fp, #-28]
	ldr	r3, .L67
	ldr	r2, .L67+4
	str	r2, [r3]
	b	.L32
.L35:
	ldr	r3, .L67+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #63
	bls	.L34
	ldr	r3, .L67+12
	ldr	r2, [r3]
	ldr	r3, .L67+16
	smull	r1, r3, r2, r3
	add	r3, r3, r2
	asr	r1, r3, #2
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #3
	sub	r3, r3, r1
	sub	r1, r2, r3
	lsl	r2, r1, #4
	ldr	r3, .L67
	ldr	r3, [r3]
	add	r1, r3, #4
	ldr	r0, .L67
	str	r1, [r0]
	sub	r2, r2, #56
	str	r2, [r3]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	ldr	r2, .L67+16
	smull	r1, r2, r3, r2
	add	r2, r2, r3
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r1, r2, r3
	ldr	r3, .L67
	ldr	r2, [r3]
	add	r3, r2, #4
	ldr	r0, .L67
	str	r3, [r0]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	str	r3, [r2]
	ldr	r3, .L67+8
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r0, r3
	ldr	r3, .L67
	ldr	r3, [r3]
	add	r2, r3, #4
	ldr	r1, .L67
	str	r2, [r1]
	sub	r2, r0, #64
	str	r2, [r3]
.L34:
	ldr	r3, .L67+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+12
	str	r3, [r2]
	ldr	r3, .L67+8
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+8
	str	r3, [r2]
.L32:
	ldr	r3, .L67+12
	ldr	r3, [r3]
	cmp	r3, #25
	ble	.L35
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L45
	ldr	r3, [fp, #-36]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldr	r1, .L67+20
	mov	r0, r3
	bl	fopen
	str	r0, [fp, #-24]
	ldr	r3, .L67
	ldr	r2, .L67+4
	str	r2, [r3]
	ldr	r3, .L67+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	ldr	r2, .L67+24
	str	r3, [r2]
	ldr	r3, .L67+24
	ldr	r3, [r3]
	ldr	r2, .L67+28
	str	r3, [r2]
	b	.L37
.L44:
	ldr	r3, [fp, #-32]
	cmp	r3, #13
	ble	.L38
	ldr	r3, [fp, #-32]
	cmp	r3, #64
	ble	.L40
	ldr	r3, [fp, #-32]
	cmp	r3, #90
	bgt	.L40
	ldr	r3, .L67+12
	ldr	r2, [r3]
	ldr	r3, .L67
	ldr	r3, [r3]
	add	r1, r3, #4
	ldr	r0, .L67
	str	r1, [r0]
	lsl	r2, r2, #4
	str	r2, [r3]
	ldr	r3, .L67+28
	ldr	r1, [r3]
	ldr	r3, .L67
	ldr	r2, [r3]
	add	r3, r2, #4
	ldr	r0, .L67
	str	r3, [r0]
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r1, r3, #2
	add	r3, r3, r1
	str	r3, [r2]
	ldr	r3, .L67
	ldr	r0, [r3]
	add	r3, r0, #4
	ldr	r2, .L67
	str	r3, [r2]
	ldr	r1, [fp, #-32]
	ldr	r3, .L67+32
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	sub	r2, r1, r3
	str	r2, [r0]
	nop
.L40:
	ldr	r3, .L67+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+12
	str	r3, [r2]
	mov	r3, #0
	b	.L41
.L38:
	mov	r3, #1
.L41:
	cmp	r3, #0
	beq	.L37
	ldr	r3, .L67+28
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+28
	str	r3, [r2]
	b	.L42
.L43:
	ldr	r3, .L67+24
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	ldr	r2, .L67+4
	ldr	r0, [r2, r3, lsl #2]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	lsl	r1, r3, #3
	ldr	r3, .L67+24
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	sub	r2, r0, r1
	ldr	r1, .L67+4
	str	r2, [r1, r3, lsl #2]
	ldr	r3, .L67+24
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+24
	str	r3, [r2]
.L42:
	ldr	r3, .L67
	ldr	r3, [r3]
	ldr	r2, .L67+4
	sub	r3, r3, r2
	asr	r3, r3, #2
	mov	r1, r3
	ldr	r3, .L67+24
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	cmp	r1, r3
	bgt	.L43
	ldr	r3, .L67+12
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	cmp	r3, #0
	bne	.L43
.L37:
	ldr	r0, [fp, #-24]
	bl	fgetc
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	cmp	r3, #0
	bgt	.L44
	ldr	r0, [fp, #-24]
	bl	fclose
	mov	r3, r0
	cmp	r3, #0
	bne	.L44
	b	.L45
.L65:
	ldr	r3, .L67+36
	mov	r2, #0
	str	r2, [r3]
	ldr	r2, .L67+40
	ldr	r3, .L67+44
	str	r2, [r3]
	b	.L46
.L49:
	ldr	r3, .L67+36
	ldr	r2, [r3]
	add	r3, r2, #1
	ldr	r1, .L67+36
	str	r3, [r1]
	ldr	r3, .L67+48
	smull	r1, r3, r2, r3
	asr	r1, r3, #5
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #4
	sub	r1, r2, r3
	cmp	r1, #78
	ble	.L47
	mov	r0, #10
	b	.L48
.L47:
	mov	r0, #32
.L48:
	ldr	r3, .L67+44
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L67+44
	str	r2, [r1]
	mov	r2, r0
	strb	r2, [r3]
.L46:
	ldr	r3, .L67+36
	ldr	r3, [r3]
	cmp	r3, #1920
	blt	.L49
	mov	r3, #0
	str	r3, [fp, #-32]
	ldr	r3, .L67+44
	ldr	r3, [r3]
	mov	r2, #0
	strb	r2, [r3]
	ldr	r3, .L67
	ldr	r2, .L67+4
	str	r2, [r3]
	b	.L50
.L63:
	ldr	r3, .L67
	ldr	r3, [r3]
	add	r3, r3, #4
	ldr	r2, [r3]
	ldr	r3, .L67+52
	ldr	r3, [r3]
	sub	r3, r2, r3
	sub	r3, r3, #40
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	mov	r1, #0
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r5, r3
	ldr	r3, .L67
	ldr	r3, [r3]
	ldr	r3, [r3]
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	mov	r0, r4
	bl	__aeabi_f2d
	mov	r2, r0
	mov	r3, r1
	mov	r4, r6
	mov	r5, r7
	mov	r0, r2
	mov	r1, r3
	ldr	r3, .L67+56
	stm	r3, {r4-r5}
	str	r0, [r3, #8]
	str	r1, [r3, #12]
	ldr	r3, .L67
	ldr	r3, [r3]
	ldr	r3, [r3, #8]
	ldr	r2, .L67+36
	str	r3, [r2]
	ldr	r3, .L67+60
	ldr	r3, [r3]
	ldr	r2, .L67+44
	str	r3, [r2]
	b	.L51
.L53:
	nop
.L52:
	ldr	r3, .L67+44
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L67+44
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	bhi	.L52
.L51:
	ldr	r3, .L67+36
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L67+36
	str	r2, [r1]
	cmp	r3, #0
	bne	.L53
	ldr	r3, .L67+44
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L67+44
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L67+64
	str	r2, [r3, #4]
	ldr	r3, .L67+64
	ldr	r3, [r3, #4]
	ldr	r2, .L67+64
	str	r3, [r2]
	b	.L54
.L62:
	ldr	r3, .L67+44
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	and	r3, r3, #1
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L55
	ldr	r3, .L67+44
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L67+64
	str	r2, [r3]
	mov	r3, #0
	b	.L56
.L55:
	mov	r3, #1
.L56:
	cmp	r3, #0
	beq	.L57
	ldr	r3, .L67+44
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L67+64
	str	r2, [r3, #8]
	ldr	r3, .L67+12
	mov	r2, #0
	str	r2, [r3]
	b	.L58
.L61:
	ldr	r3, .L67+12
	ldr	r3, [r3]
	ldr	r2, .L67+64
	ldr	r3, [r2, r3, lsl #2]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	sub	r3, r3, #18
	ldr	r2, .L67+68
	str	r3, [r2]
	ldr	r3, .L67+72
	ldr	r2, .L67+76
	str	r2, [r3]
	ldr	r3, .L67+36
	mov	r2, #2
	str	r2, [r3]
	b	.L59
.L60:
	ldr	r3, .L67+72
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L67+72
	str	r2, [r1]
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #34
	ldr	r3, .L67+36
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L67+36
	str	r3, [r2]
.L59:
	ldr	r3, .L67+68
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r1, .L67+68
	str	r2, [r1]
	cmp	r3, #0
	bne	.L60
	ldr	r3, .L67+36
	ldr	r3, [r3]
	ldr	r2, .L67+32
	smull	r1, r2, r3, r2
	asr	r2, r2, #2
	asr	r3, r3, #31
	sub	r3, r2, r3
	mov	r0, r3
	bl	__aeabi_i2f
	mov	r4, r0
	ldr	r3, .L67+36
	ldr	r1, [r3]
	ldr	r3, .L67+32
	smull	r2, r3, r1, r3
	asr	r2, r3, #2
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	sub	r2, r1, r3
	mov	r0, r2
	bl	__aeabi_i2f
	mov	r5, r0
	mov	r1, #0
	mov	r0, r4
	bl	__aeabi_fmul
	mov	r3, r0
	mov	r1, r3
	mov	r0, r5
	bl	__aeabi_fadd
	mov	r3, r0
	mov	r0, r3
	bl	__aeabi_f2d
	mov	r6, r0
	mov	r7, r1
	mov	r0, r4
	bl	__aeabi_f2d
	ldr	r3, .L67+12
	ldr	r3, [r3]
	mov	r4, r6
	mov	r5, r7
	ldr	r2, .L67+80
	lsl	r3, r3, #4
	add	r3, r2, r3
	stm	r3, {r4-r5}
	str	r0, [r3, #8]
	str	r1, [r3, #12]
	ldr	r3, .L67+12
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+12
	str	r3, [r2]
.L58:
	ldr	r3, .L67+12
	ldr	r3, [r3]
	cmp	r3, #2
	ble	.L61
	mov	r2, #0
	ldr	r3, .L67+84
	mov	r0, #0
	mov	r1, #0
	bl	b
	ldr	r3, .L67+44
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L67+64
	str	r2, [r3, #4]
	ldr	r3, .L67+64
	ldr	r3, [r3, #4]
	ldr	r2, .L67+64
	str	r3, [r2]
.L57:
	ldr	r3, .L67+44
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+44
	str	r3, [r2]
.L54:
	ldr	r3, .L67+44
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #33
	bhi	.L62
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
	ldr	r3, .L67
	ldr	r3, [r3]
	add	r3, r3, #12
	ldr	r2, .L67
	str	r3, [r2]
.L50:
	ldr	r3, .L67+24
	ldr	r3, [r3]
	ldr	r2, [fp, #-32]
	cmp	r2, r3
	blt	.L63
	ldr	r3, .L67+8
	ldr	r3, [r3]
	mov	r0, r3
	bl	puts
	ldr	r2, .L67+88
	ldr	r3, .L67+8
	str	r2, [r3]
	nop
.L64:
	bl	clock
	mov	r2, r0
	ldr	r3, [fp, #-28]
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r0, r3
	ldr	r3, .L67+52
	ldr	r1, [r3]
	mov	r2, r1
	lsl	r2, r2, #5
	sub	r2, r2, r1
	lsl	r3, r2, #6
	sub	r3, r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r1
	lsl	r3, r3, #6
	cmp	r0, r3
	blt	.L64
	ldr	r3, .L67+52
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L67+52
	str	r3, [r2]
.L45:
	ldr	r3, .L67+28
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	add	r2, r3, #199
	ldr	r3, .L67+52
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L65
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L68:
	.align	2
.L67:
	.word	d
	.word	D
	.word	s
	.word	m
	.word	-1840700269
	.word	.LC3
	.word	N
	.word	L
	.word	1321528399
	.word	n
	.word	S+33
	.word	p
	.word	1717986919
	.word	i
	.word	O
	.word	G
	.word	a
	.word	k
	.word	q
	.word	.LC4
	.word	X
	.word	1072693248
	.word	S+30
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
