	.file	"127851.c"
	.intel_syntax noprefix
	.text
	.globl	X
	.data
	.align 32
	.type	X, @object
	.size	X, 121
X:
	.string	" ETIANMSURWDKGOHVF:L:PJBXCYZQ::54:3:::2&:+::::16=/:::(:7:::8:90::::::::::::?_::::\"::.::::@:::'::-::::::::;!:):::::,:::::"
	.globl	j
	.bss
	.align 4
	.type	j, @object
	.size	j, 4
j:
	.zero	4
	.globl	w
	.align 4
	.type	w, @object
	.size	w, 4
w:
	.zero	4
	.globl	h
	.align 4
	.type	h, @object
	.size	h, 4
h:
	.zero	4
	.globl	f
	.align 4
	.type	f, @object
	.size	f, 4
f:
	.zero	4
	.globl	u
	.align 4
	.type	u, @object
	.size	u, 4
u:
	.zero	4
	.globl	d
	.align 4
	.type	d, @object
	.size	d, 4
d:
	.zero	4
	.globl	g
	.align 4
	.type	g, @object
	.size	g, 4
g:
	.zero	4
	.globl	e
	.align 4
	.type	e, @object
	.size	e, 4
e:
	.zero	4
	.globl	n
	.align 4
	.type	n, @object
	.size	n, 4
n:
	.zero	4
	.globl	i
	.align 4
	.type	i, @object
	.size	i, 4
i:
	.zero	4
	.globl	l
	.align 4
	.type	l, @object
	.size	l, 4
l:
	.zero	4
	.globl	a
	.align 4
	.type	a, @object
	.size	a, 4
a:
	.zero	4
	.globl	r
	.align 4
	.type	r, @object
	.size	r, 4
r:
	.zero	4
	.globl	p
	.align 4
	.type	p, @object
	.size	p, 4
p:
	.zero	4
	.globl	c
	.align 4
	.type	c, @object
	.size	c, 4
c:
	.zero	4
	.globl	m
	.align 4
	.type	m, @object
	.size	m, 4
m:
	.zero	4
	.globl	o
	.align 4
	.type	o, @object
	.size	o, 4
o:
	.zero	4
	.globl	t
	.align 4
	.type	t, @object
	.size	t, 4
t:
	.zero	4
	.globl	s
	.align 4
	.type	s, @object
	.size	s, 4
s:
	.zero	4
	.globl	Q
	.data
	.align 4
	.type	Q, @object
	.size	Q, 4
Q:
	.long	32
	.globl	T
	.bss
	.align 32
	.type	T, @object
	.size	T, 128
T:
	.zero	128
	.globl	W
	.align 32
	.type	W, @object
	.size	W, 128
W:
	.zero	128
	.globl	I
	.data
	.align 4
	.type	I, @object
	.size	I, 4
I:
	.long	13000
	.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
	mov	DWORD PTR -4[rbp], edi
	mov	QWORD PTR -16[rbp], rsi
	mov	DWORD PTR i[rip], 0
	jmp	.L2
.L18:
	cmp	DWORD PTR -4[rbp], 1
	je	.L3
	mov	rax, QWORD PTR -16[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movzx	eax, BYTE PTR [rax]
	cmp	al, 101
	jne	.L3
	mov	eax, DWORD PTR g[rip]
	add	eax, 1
	mov	DWORD PTR g[rip], eax
	mov	edx, DWORD PTR g[rip]
	movsx	rax, edx
	imul	rax, rax, 91625969
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 1500
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	je	.L4
	mov	eax, DWORD PTR g[rip]
	and	eax, 1
	test	eax, eax
	sete	al
	movzx	edx, al
	movzx	eax, BYTE PTR X[rip]
	mov	ecx, eax
	sar	cl, 7
	xor	eax, ecx
	sub	eax, ecx
	movzx	eax, al
	imul	edx, eax
	mov	eax, DWORD PTR u[rip]
	add	eax, edx
	mov	DWORD PTR u[rip], eax
	jmp	.L10
.L4:
	mov	eax, DWORD PTR e[rip]
	mov	DWORD PTR f[rip], eax
	mov	eax, DWORD PTR w[rip]
	mov	DWORD PTR e[rip], eax
	mov	eax, DWORD PTR d[rip]
	mov	DWORD PTR w[rip], eax
	mov	eax, DWORD PTR u[rip]
	mov	DWORD PTR d[rip], eax
	mov	eax, DWORD PTR h[rip]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	add	eax, eax
	mov	edx, 1
	sub	edx, eax
	mov	eax, DWORD PTR d[rip]
	mov	ecx, DWORD PTR f[rip]
	sub	eax, ecx
	imul	eax, edx
	mov	ecx, DWORD PTR d[rip]
	mov	edx, DWORD PTR f[rip]
	cmp	ecx, edx
	jge	.L6
	mov	edx, DWORD PTR d[rip]
	mov	edi, edx
	or	edi, 1
	jmp	.L7
.L6:
	mov	edx, DWORD PTR f[rip]
	mov	edi, edx
	or	edi, 1
.L7:
	cdq
	idiv	edi
	cmp	eax, 5
	jle	.L8
	mov	edi, DWORD PTR o[rip]
	mov	esi, DWORD PTR l[rip]
	mov	eax, DWORD PTR h[rip]
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	lea	ecx, [rdi+rsi]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, T[rip]
	mov	DWORD PTR [rdx+rax], ecx
	mov	eax, DWORD PTR h[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR h[rip], edx
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, DWORD PTR o[rip]
	movsx	rcx, edx
	lea	rsi, 0[0+rcx*4]
	lea	rcx, W[rip]
	mov	DWORD PTR [rsi+rcx], eax
	movsx	rax, edx
	lea	rdx, 0[0+rax*4]
	lea	rax, W[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR l[rip], eax
	mov	DWORD PTR o[rip], 0
	mov	eax, DWORD PTR o[rip]
	jmp	.L9
.L8:
	mov	eax, DWORD PTR m[rip]
.L9:
	mov	DWORD PTR m[rip], eax
	mov	eax, DWORD PTR o[rip]
	add	eax, 1
	mov	DWORD PTR o[rip], eax
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, 0
	call	main
	mov	DWORD PTR u[rip], eax
	jmp	.L10
.L3:
	movzx	eax, BYTE PTR X[rip]
	movsx	edx, al
	mov	eax, DWORD PTR Q[rip]
	and	edx, eax
	movzx	eax, BYTE PTR X[rip]
	mov	ecx, eax
	shr	cl, 7
	add	eax, ecx
	sar	al
	movsx	eax, al
	and	eax, edx
	not	eax
	mov	edx, eax
	movzx	eax, BYTE PTR X[rip]
	movsx	eax, al
	and	eax, edx
	mov	esi, eax
	lea	rdi, X[rip]
	call	strrchr@PLT
	lea	rdx, X[rip]
	sub	rax, rdx
	mov	DWORD PTR c[rip], eax
	mov	DWORD PTR j[rip], 255
.L10:
	jmp	.L11
.L14:
	mov	edx, DWORD PTR c[rip]
	mov	eax, DWORD PTR j[rip]
	cmp	edx, eax
	jl	.L13
	mov	eax, DWORD PTR c[rip]
	mov	ecx, DWORD PTR j[rip]
	sub	eax, ecx
	mov	edx, eax
	mov	eax, DWORD PTR j[rip]
	mov	ecx, eax
	shr	ecx, 31
	add	eax, ecx
	sar	eax
	lea	ecx, 1[rax]
	mov	eax, edx
	cdq
	idiv	ecx
	mov	edx, eax
	mov	eax, edx
	sar	eax, 31
	shr	eax, 31
	mov	ecx, eax
	lea	eax, [rdx+rcx]
	and	eax, 1
	sub	eax, ecx
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	lea	edx, 9[rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	main
.L13:
	mov	eax, DWORD PTR j[rip]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	mov	DWORD PTR j[rip], eax
.L11:
	cmp	DWORD PTR -4[rbp], 1
	jne	.L2
	mov	edx, DWORD PTR c[rip]
	mov	eax, DWORD PTR j[rip]
	imul	eax, edx
	test	eax, eax
	jne	.L14
	movzx	eax, BYTE PTR X[rip]
	movsx	edx, al
	mov	eax, DWORD PTR Q[rip]
	cmp	edx, eax
	je	.L15
	mov	edx, 8
	jmp	.L16
.L15:
	mov	edx, 24
.L16:
	mov	rax, QWORD PTR -16[rbp]
	mov	rsi, rax
	mov	edi, edx
	call	main
	test	eax, eax
	jne	.L14
.L2:
	cmp	DWORD PTR -4[rbp], 0
	jle	.L17
	cmp	DWORD PTR -4[rbp], 4
	jg	.L17
	mov	rax, QWORD PTR stdin[rip]
	mov	rcx, rax
	mov	edx, 1
	mov	esi, 1
	lea	rdi, X[rip]
	call	fread@PLT
	mov	DWORD PTR t[rip], eax
	mov	eax, DWORD PTR t[rip]
	mov	edx, DWORD PTR -4[rbp]
	imul	eax, edx
	mov	DWORD PTR -4[rbp], eax
	cmp	DWORD PTR -4[rbp], 0
	jne	.L18
.L17:
	mov	DWORD PTR u[rip], 0
	mov	eax, DWORD PTR u[rip]
	mov	DWORD PTR a[rip], eax
	jmp	.L19
.L30:
	mov	eax, DWORD PTR i[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR i[rip], edx
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	test	eax, eax
	jne	.L23
	mov	edx, DWORD PTR c[rip]
	mov	eax, DWORD PTR a[rip]
	cmp	edx, eax
	jle	.L21
	mov	eax, DWORD PTR s[rip]
	mov	DWORD PTR u[rip], eax
	mov	eax, DWORD PTR c[rip]
	jmp	.L22
.L21:
	mov	eax, DWORD PTR a[rip]
.L22:
	mov	DWORD PTR a[rip], eax
	mov	DWORD PTR s[rip], 0
	mov	eax, DWORD PTR s[rip]
	mov	DWORD PTR c[rip], eax
.L23:
	mov	eax, DWORD PTR i[rip]
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, T[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	DWORD PTR j[rip], eax
	mov	eax, DWORD PTR j[rip]
	test	eax, eax
	je	.L24
	mov	eax, DWORD PTR i[rip]
	mov	edi, DWORD PTR Q[rip]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, T[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edi, DWORD PTR j[rip]
	cdq
	idiv	edi
	jmp	.L25
.L24:
	mov	eax, 0
.L25:
	mov	DWORD PTR j[rip], eax
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 4
	jg	.L26
	mov	edx, 3
	jmp	.L27
.L26:
	mov	edx, 1
.L27:
	mov	eax, DWORD PTR j[rip]
	imul	eax, edx
	mov	DWORD PTR j[rip], eax
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 7
	jle	.L19
	mov	eax, DWORD PTR j[rip]
	cmp	eax, 12
	jg	.L19
	mov	edx, DWORD PTR c[rip]
	mov	eax, DWORD PTR s[rip]
	mov	ecx, edx
	imul	ecx, eax
	mov	eax, DWORD PTR i[rip]
	mov	edi, DWORD PTR Q[rip]
	cdq
	idiv	edi
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, T[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, eax
	shr	edx, 31
	add	eax, edx
	sar	eax
	add	eax, ecx
	mov	DWORD PTR s[rip], eax
	mov	eax, DWORD PTR c[rip]
	add	eax, 1
	mov	DWORD PTR c[rip], eax
	mov	edi, DWORD PTR c[rip]
	mov	eax, DWORD PTR s[rip]
	cdq
	idiv	edi
	mov	DWORD PTR s[rip], eax
.L19:
	mov	edx, DWORD PTR Q[rip]
	mov	eax, DWORD PTR Q[rip]
	imul	edx, eax
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jl	.L29
	cmp	DWORD PTR -4[rbp], 0
	je	.L30
.L29:
	mov	eax, DWORD PTR h[rip]
	mov	edx, DWORD PTR r[rip]
	sub	eax, edx
	mov	edi, DWORD PTR Q[rip]
	cdq
	idiv	edi
	mov	edx, eax
	mov	eax, DWORD PTR Q[rip]
	imul	edx, eax
	mov	eax, DWORD PTR r[rip]
	add	eax, edx
	mov	DWORD PTR r[rip], eax
	jmp	.L31
.L32:
	mov	eax, DWORD PTR i[rip]
	mov	esi, DWORD PTR I[rip]
	cdq
	idiv	esi
	mov	ecx, eax
	mov	eax, DWORD PTR -4[rbp]
	cdq
	shr	edx, 30
	add	eax, edx
	and	eax, 3
	sub	eax, edx
	cmp	ecx, eax
	setl	al
	movzx	edx, al
	mov	eax, DWORD PTR i[rip]
	imul	eax, edx
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	imul	esi, eax, 85
	mov	edx, DWORD PTR i[rip]
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 176
	mov	eax, edx
	sub	eax, ecx
	movsx	rdx, eax
	imul	rdx, rdx, 780903145
	shr	rdx, 32
	sar	edx, 4
	sar	eax, 31
	mov	ecx, eax
	mov	eax, edx
	sub	eax, ecx
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	mov	edi, eax
	call	putchar@PLT
	mov	eax, DWORD PTR i[rip]
	add	eax, 1
	mov	DWORD PTR i[rip], eax
.L31:
	mov	eax, DWORD PTR -4[rbp]
	lea	edx, 3[rax]
	test	eax, eax
	cmovs	eax, edx
	sar	eax, 2
	mov	edx, eax
	mov	eax, DWORD PTR I[rip]
	imul	edx, eax
	mov	eax, DWORD PTR i[rip]
	cmp	edx, eax
	jg	.L32
	cmp	DWORD PTR -4[rbp], 0
	setne	al
	movzx	edx, al
	mov	eax, DWORD PTR g[rip]
	imul	eax, edx
	mov	DWORD PTR g[rip], eax
	jmp	.L33
.L45:
	mov	eax, DWORD PTR Q[rip]
	mov	BYTE PTR X[rip], al
	mov	eax, DWORD PTR r[rip]
	and	eax, 1
	test	eax, eax
	je	.L34
	mov	eax, DWORD PTR n[rip]
	add	eax, 1
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR p[rip]
	lea	esi, [rax+rax]
	mov	eax, DWORD PTR r[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR r[rip], edx
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, W[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR u[rip]
	add	edx, edx
	cmp	eax, edx
	setg	al
	movzx	eax, al
	add	eax, esi
	jmp	.L35
.L34:
	mov	eax, DWORD PTR p[rip]
.L35:
	mov	DWORD PTR p[rip], eax
	mov	edx, DWORD PTR r[rip]
	mov	eax, DWORD PTR t[rip]
	add	edx, eax
	mov	eax, DWORD PTR h[rip]
	add	eax, 1
	cmp	edx, eax
	je	.L33
	mov	eax, DWORD PTR r[rip]
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, W[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR u[rip]
	add	edx, edx
	cmp	eax, edx
	jg	.L37
	mov	edx, DWORD PTR r[rip]
	mov	eax, DWORD PTR h[rip]
	cmp	edx, eax
	jne	.L41
.L37:
	mov	eax, DWORD PTR n[rip]
	cmp	eax, 6
	jg	.L39
	mov	eax, DWORD PTR p[rip]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR n[rip]
	mov	esi, 1
	mov	ecx, eax
	sal	esi, cl
	mov	eax, esi
	add	eax, edx
	cdqe
	lea	rdx, X[rip]
	movzx	eax, BYTE PTR [rax+rdx]
	movsx	eax, al
	mov	edi, eax
	call	putchar@PLT
	mov	eax, 0
	jmp	.L40
.L39:
	mov	eax, 0
.L40:
	mov	DWORD PTR n[rip], eax
	mov	eax, DWORD PTR n[rip]
	mov	DWORD PTR p[rip], eax
	nop
.L41:
	mov	eax, DWORD PTR r[rip]
	lea	edx, 1[rax]
	mov	DWORD PTR r[rip], edx
	mov	ecx, DWORD PTR Q[rip]
	cdq
	idiv	ecx
	mov	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, W[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR u[rip]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	cmp	ecx, eax
	jle	.L33
	mov	eax, DWORD PTR Q[rip]
	mov	edi, eax
	call	putchar@PLT
.L33:
	mov	edx, DWORD PTR r[rip]
	mov	eax, DWORD PTR t[rip]
	add	edx, eax
	mov	eax, DWORD PTR h[rip]
	add	eax, 1
	cmp	edx, eax
	je	.L44
	mov	eax, DWORD PTR h[rip]
	cmp	eax, 5
	jle	.L44
	cmp	DWORD PTR -4[rbp], 0
	je	.L45
.L44:
	mov	eax, 0
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	main, .-main
	.ident	"GCC: (Ubuntu 10.5.0-1ubuntu1~20.04) 10.5.0"
	.section	.note.GNU-stack,"",@progbits
	.section	.note.gnu.property,"a"
	.align 8
	.long	 1f - 0f
	.long	 4f - 1f
	.long	 5
0:
	.string	 "GNU"
1:
	.align 8
	.long	 0xc0000002
	.long	 3f - 2f
2:
	.long	 0x3
3:
	.align 8
4:

	.arch armv5t
	.eabi_attribute 20, 1
	.eabi_attribute 21, 1
	.eabi_attribute 23, 3
	.eabi_attribute 24, 1
	.eabi_attribute 25, 1
	.eabi_attribute 26, 2
	.eabi_attribute 30, 6
	.eabi_attribute 34, 0
	.eabi_attribute 18, 4
	.file	"127851.c"
	.text
	.global	X
	.data
	.align	2
	.type	X, %object
	.size	X, 121
X:
	.ascii	" ETIANMSURWDKGOHVF:L:PJBXCYZQ::54:3:::2&:+::::16=/:"
	.ascii	"::(:7:::8:90::::::::::::?_::::\"::.::::@:::'::-::::"
	.ascii	"::::;!:):::::,:::::\000"
	.comm	j,4,4
	.comm	w,4,4
	.comm	h,4,4
	.comm	f,4,4
	.comm	u,4,4
	.comm	d,4,4
	.comm	g,4,4
	.comm	e,4,4
	.comm	n,4,4
	.comm	i,4,4
	.comm	l,4,4
	.comm	a,4,4
	.comm	r,4,4
	.comm	p,4,4
	.comm	c,4,4
	.comm	m,4,4
	.comm	o,4,4
	.comm	t,4,4
	.comm	s,4,4
	.global	Q
	.align	2
	.type	Q, %object
	.size	Q, 4
Q:
	.word	32
	.comm	T,128,4
	.comm	W,128,4
	.global	I
	.align	2
	.type	I, %object
	.size	I, 4
I:
	.word	13000
	.global	__aeabi_idiv
	.global	__aeabi_idivmod
	.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	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #8
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	ldr	r3, .L47
	mov	r2, #0
	str	r2, [r3]
	b	.L2
.L18:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	beq	.L3
	ldr	r3, [fp, #-20]
	add	r3, r3, #4
	ldr	r3, [r3]
	ldrb	r3, [r3]	@ zero_extendqisi2
	cmp	r3, #101
	bne	.L3
	ldr	r3, .L47+4
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+4
	str	r3, [r2]
	ldr	r3, .L47+4
	ldr	r1, [r3]
	ldr	r3, .L47+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	sub	r2, r2, r3
	lsl	r3, r2, #2
	mov	r2, r3
	sub	r2, r1, r2
	cmp	r2, #0
	beq	.L4
	ldr	r3, .L47+4
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L47+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mul	r2, r3, r2
	ldr	r3, .L47+16
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L47+16
	str	r3, [r2]
	b	.L10
.L4:
	ldr	r3, .L47+20
	ldr	r3, [r3]
	ldr	r2, .L47+24
	str	r3, [r2]
	ldr	r3, .L47+28
	ldr	r3, [r3]
	ldr	r2, .L47+20
	str	r3, [r2]
	ldr	r3, .L47+32
	ldr	r3, [r3]
	ldr	r2, .L47+28
	str	r3, [r2]
	ldr	r3, .L47+16
	ldr	r3, [r3]
	ldr	r2, .L47+32
	str	r3, [r2]
	ldr	r3, .L47+36
	ldr	r3, [r3]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	lsl	r3, r3, #1
	rsb	r3, r3, #1
	ldr	r2, .L47+32
	ldr	r1, [r2]
	ldr	r2, .L47+24
	ldr	r2, [r2]
	sub	r2, r1, r2
	mul	r0, r2, r3
	ldr	r3, .L47+32
	ldr	r2, [r3]
	ldr	r3, .L47+24
	ldr	r3, [r3]
	cmp	r2, r3
	bge	.L6
	ldr	r3, .L47+32
	ldr	r3, [r3]
	orr	r3, r3, #1
	b	.L7
.L6:
	ldr	r3, .L47+24
	ldr	r3, [r3]
	orr	r3, r3, #1
.L7:
	mov	r1, r3
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r3, #5
	ble	.L8
	ldr	r3, .L47+40
	ldr	r5, [r3]
	ldr	r3, .L47+44
	ldr	r4, [r3]
	ldr	r3, .L47+36
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r1, r3
	add	r3, r5, r4
	ldr	r2, .L47+52
	str	r3, [r2, r1, lsl #2]
	ldr	r3, .L47+36
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L47+36
	str	r2, [r1]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	ldr	r2, .L47+40
	ldr	r2, [r2]
	ldr	r1, .L47+56
	str	r2, [r1, r3, lsl #2]
	ldr	r2, .L47+56
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L47+44
	str	r3, [r2]
	ldr	r3, .L47+40
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L47+40
	ldr	r3, [r3]
	b	.L9
.L8:
	ldr	r3, .L47+60
	ldr	r3, [r3]
.L9:
	ldr	r2, .L47+60
	str	r3, [r2]
	ldr	r3, .L47+40
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+40
	str	r3, [r2]
	ldr	r1, [fp, #-20]
	mov	r0, #0
	bl	main
	mov	r3, r0
	ldr	r2, .L47+16
	str	r3, [r2]
	b	.L10
.L3:
	ldr	r3, .L47+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L47+48
	ldr	r3, [r3]
	and	r3, r3, r2
	ldr	r2, .L47+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	lsr	r2, r2, #1
	and	r2, r2, #255
	and	r3, r3, r2
	mvn	r3, r3
	ldr	r2, .L47+12
	ldrb	r2, [r2]	@ zero_extendqisi2
	and	r3, r3, r2
	mov	r1, r3
	ldr	r0, .L47+12
	bl	strrchr
	mov	r3, r0
	ldr	r2, .L47+12
	sub	r3, r3, r2
	ldr	r2, .L47+64
	str	r3, [r2]
	ldr	r3, .L47+68
	mov	r2, #255
	str	r2, [r3]
.L10:
	b	.L11
.L14:
	ldr	r3, .L47+64
	ldr	r2, [r3]
	ldr	r3, .L47+68
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L13
	ldr	r3, .L47+64
	ldr	r2, [r3]
	ldr	r3, .L47+68
	ldr	r3, [r3]
	sub	r0, r2, r3
	ldr	r3, .L47+68
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r3, #1
	mov	r1, r3
	bl	__aeabi_idiv
	mov	r3, r0
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, #9
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	main
.L13:
	ldr	r3, .L47+68
	ldr	r3, [r3]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L47+68
	str	r2, [r3]
.L11:
	ldr	r3, [fp, #-16]
	cmp	r3, #1
	bne	.L2
	ldr	r3, .L47+64
	ldr	r3, [r3]
	ldr	r2, .L47+68
	ldr	r2, [r2]
	mul	r3, r2, r3
	cmp	r3, #0
	bne	.L14
	ldr	r3, .L47+12
	ldrb	r3, [r3]	@ zero_extendqisi2
	mov	r2, r3
	ldr	r3, .L47+48
	ldr	r3, [r3]
	cmp	r2, r3
	beq	.L15
	mov	r3, #8
	b	.L16
.L15:
	mov	r3, #24
.L16:
	ldr	r1, [fp, #-20]
	mov	r0, r3
	bl	main
	mov	r3, r0
	cmp	r3, #0
	bne	.L14
.L2:
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	ble	.L17
	ldr	r3, [fp, #-16]
	cmp	r3, #4
	bgt	.L17
	ldr	r3, .L47+72
	ldr	r3, [r3]
	mov	r2, #1
	mov	r1, #1
	ldr	r0, .L47+12
	bl	fread
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47+76
	str	r2, [r3]
	ldr	r3, .L47+76
	ldr	r2, [r3]
	ldr	r3, [fp, #-16]
	mul	r3, r2, r3
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	bne	.L18
.L17:
	ldr	r3, .L47+16
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L47+16
	ldr	r3, [r3]
	ldr	r2, .L47+80
	str	r3, [r2]
	b	.L19
.L30:
	ldr	r3, .L47
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L47
	str	r2, [r1]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	cmp	r3, #0
	bne	.L23
	ldr	r3, .L47+64
	ldr	r2, [r3]
	ldr	r3, .L47+80
	ldr	r3, [r3]
	cmp	r2, r3
	ble	.L21
	ldr	r3, .L47+84
	ldr	r3, [r3]
	ldr	r2, .L47+16
	str	r3, [r2]
	ldr	r3, .L47+64
	ldr	r3, [r3]
	b	.L22
.L21:
	ldr	r3, .L47+80
	ldr	r3, [r3]
.L22:
	ldr	r2, .L47+80
	str	r3, [r2]
	ldr	r3, .L47+84
	mov	r2, #0
	str	r2, [r3]
	ldr	r3, .L47+84
	ldr	r3, [r3]
	ldr	r2, .L47+64
	str	r3, [r2]
.L23:
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L47+52
	ldr	r3, [r3, r2, lsl #2]
	ldr	r2, .L47+68
	str	r3, [r2]
	ldr	r3, .L47+68
	ldr	r3, [r3]
	cmp	r3, #0
	beq	.L24
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47+52
	ldr	r2, [r3, r2, lsl #2]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, .L47+68
	ldr	r3, [r3]
	mov	r1, r3
	mov	r0, r2
	bl	__aeabi_idiv
	mov	r3, r0
	b	.L25
.L24:
	mov	r3, #0
.L25:
	ldr	r2, .L47+68
	str	r3, [r2]
	ldr	r3, .L47+68
	ldr	r3, [r3]
	cmp	r3, #4
	bgt	.L26
	mov	r3, #3
	b	.L27
.L26:
	mov	r3, #1
.L27:
	ldr	r2, .L47+68
	ldr	r2, [r2]
	mul	r3, r2, r3
	ldr	r2, .L47+68
	str	r3, [r2]
	ldr	r3, .L47+68
	ldr	r3, [r3]
	cmp	r3, #7
	ble	.L19
	ldr	r3, .L47+68
	ldr	r3, [r3]
	cmp	r3, #12
	bgt	.L19
	ldr	r3, .L47+64
	ldr	r3, [r3]
	ldr	r2, .L47+84
	ldr	r2, [r2]
	mul	r4, r2, r3
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47+52
	ldr	r3, [r3, r2, lsl #2]
	lsr	r2, r3, #31
	add	r3, r2, r3
	asr	r3, r3, #1
	add	r3, r4, r3
	ldr	r2, .L47+84
	str	r3, [r2]
	ldr	r3, .L47+64
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+64
	str	r3, [r2]
	ldr	r3, .L47+64
	ldr	r2, [r3]
	ldr	r3, .L47+84
	ldr	r3, [r3]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47+84
	str	r2, [r3]
.L19:
	ldr	r3, .L47+48
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mul	r2, r3, r2
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r2, r3
	blt	.L29
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L30
.L29:
	ldr	r3, .L47+36
	ldr	r2, [r3]
	ldr	r3, .L47+88
	ldr	r3, [r3]
	sub	r3, r2, r3
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r2, r3
	ldr	r3, .L47+48
	ldr	r3, [r3]
	mul	r2, r3, r2
	ldr	r3, .L47+88
	ldr	r3, [r3]
	add	r3, r2, r3
	ldr	r2, .L47+88
	str	r3, [r2]
	b	.L31
.L32:
	ldr	r3, .L47
	ldr	r3, [r3]
	ldr	r2, .L47+92
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idiv
	mov	r3, r0
	mov	r1, r3
	ldr	r3, [fp, #-16]
	rsbs	r2, r3, #0
	and	r3, r3, #3
	and	r2, r2, #3
	rsbpl	r3, r2, #0
	cmp	r1, r3
	movlt	r3, #1
	movge	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L47
	ldr	r3, [r3]
	mul	r3, r2, r3
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	mov	r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r2, r3, #4
	add	r0, r3, r2
	ldr	r3, .L47
	ldr	r1, [r3]
	ldr	r3, .L47+96
	smull	r2, r3, r1, r3
	asr	r2, r3, #5
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r2, r1, r3
	ldr	r3, .L47+96
	smull	r1, r3, r2, r3
	asr	r1, r3, #4
	asr	r3, r2, #31
	sub	r3, r1, r3
	lsl	r3, r0, r3
	mov	r0, r3
	bl	putchar
	ldr	r3, .L47
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47
	str	r3, [r2]
.L31:
	ldr	r3, [fp, #-16]
	add	r2, r3, #3
	cmp	r3, #0
	movlt	r3, r2
	movge	r3, r3
	asr	r3, r3, #2
	mov	r2, r3
	ldr	r3, .L47+92
	ldr	r3, [r3]
	mul	r2, r3, r2
	ldr	r3, .L47
	ldr	r3, [r3]
	cmp	r2, r3
	bgt	.L32
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	movne	r3, #1
	moveq	r3, #0
	and	r3, r3, #255
	mov	r2, r3
	ldr	r3, .L47+4
	ldr	r3, [r3]
	mul	r3, r2, r3
	ldr	r2, .L47+4
	str	r3, [r2]
	b	.L33
.L45:
	ldr	r3, .L47+48
	ldr	r3, [r3]
	and	r2, r3, #255
	ldr	r3, .L47+12
	strb	r2, [r3]
	ldr	r3, .L47+88
	ldr	r3, [r3]
	and	r3, r3, #1
	cmp	r3, #0
	beq	.L34
	ldr	r3, .L47+100
	ldr	r3, [r3]
	add	r3, r3, #1
	ldr	r2, .L47+100
	str	r3, [r2]
	ldr	r3, .L47+104
	ldr	r3, [r3]
	lsl	r4, r3, #1
	ldr	r3, .L47+88
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L47+88
	str	r2, [r1]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L47+56
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, .L47+16
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r2, r3
	movgt	r3, #1
	movle	r3, #0
	and	r3, r3, #255
	add	r3, r4, r3
	b	.L35
.L34:
	ldr	r3, .L47+104
	ldr	r3, [r3]
.L35:
	ldr	r2, .L47+104
	str	r3, [r2]
	ldr	r3, .L47+88
	ldr	r2, [r3]
	ldr	r3, .L47+76
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L47+36
	ldr	r3, [r3]
	add	r3, r3, #1
	cmp	r2, r3
	beq	.L33
	ldr	r3, .L47+88
	ldr	r3, [r3]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L47+56
	ldr	r2, [r3, r2, lsl #2]
	ldr	r3, .L47+16
	ldr	r3, [r3]
	lsl	r3, r3, #1
	cmp	r2, r3
	bgt	.L37
	ldr	r3, .L47+88
	ldr	r2, [r3]
	ldr	r3, .L47+36
	ldr	r3, [r3]
	cmp	r2, r3
	bne	.L41
.L37:
	ldr	r3, .L47+100
	ldr	r3, [r3]
	cmp	r3, #6
	bgt	.L39
	ldr	r3, .L47+104
	ldr	r3, [r3]
	sub	r2, r3, #1
	ldr	r3, .L47+100
	ldr	r3, [r3]
	mov	r1, #1
	lsl	r3, r1, r3
	add	r3, r2, r3
	ldr	r2, .L47+12
	ldrb	r3, [r2, r3]	@ zero_extendqisi2
	mov	r0, r3
	bl	putchar
	mov	r3, #0
	b	.L40
.L39:
	mov	r3, #0
.L40:
	ldr	r2, .L47+100
	str	r3, [r2]
	ldr	r3, .L47+100
	ldr	r3, [r3]
	ldr	r2, .L47+104
	str	r3, [r2]
	nop
.L41:
	ldr	r3, .L47+88
	ldr	r3, [r3]
	add	r2, r3, #1
	ldr	r1, .L47+88
	str	r2, [r1]
	ldr	r2, .L47+48
	ldr	r2, [r2]
	mov	r1, r2
	mov	r0, r3
	bl	__aeabi_idivmod
	mov	r3, r1
	mov	r2, r3
	ldr	r3, .L47+56
	ldr	r1, [r3, r2, lsl #2]
	ldr	r3, .L47+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	cmp	r1, r3
	ble	.L33
	ldr	r3, .L47+48
	ldr	r3, [r3]
	mov	r0, r3
	bl	putchar
.L33:
	ldr	r3, .L47+88
	ldr	r2, [r3]
	ldr	r3, .L47+76
	ldr	r3, [r3]
	add	r2, r2, r3
	ldr	r3, .L47+36
	ldr	r3, [r3]
	add	r3, r3, #1
	cmp	r2, r3
	beq	.L44
	ldr	r3, .L47+36
	ldr	r3, [r3]
	cmp	r3, #5
	ble	.L44
	ldr	r3, [fp, #-16]
	cmp	r3, #0
	beq	.L45
.L44:
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L48:
	.align	2
.L47:
	.word	i
	.word	g
	.word	91625969
	.word	X
	.word	u
	.word	e
	.word	f
	.word	w
	.word	d
	.word	h
	.word	o
	.word	l
	.word	Q
	.word	T
	.word	W
	.word	m
	.word	c
	.word	j
	.word	stdin
	.word	t
	.word	a
	.word	s
	.word	r
	.word	I
	.word	780903145
	.word	n
	.word	p
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
