	.file	"612968.c"
	.intel_syntax noprefix
	.text
	.globl	min
	.type	min, @function
min:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	DWORD PTR -4[rbp], edi
	mov	DWORD PTR -8[rbp], esi
	mov	eax, DWORD PTR -4[rbp]
	cmp	DWORD PTR -8[rbp], eax
	cmovle	eax, DWORD PTR -8[rbp]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	min, .-min
	.globl	cmp
	.type	cmp, @function
cmp:
.LFB7:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	mov	QWORD PTR -8[rbp], rdi
	mov	QWORD PTR -16[rbp], rsi
	mov	rax, QWORD PTR -8[rbp]
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -16[rbp]
	mov	ecx, DWORD PTR [rax]
	mov	eax, edx
	sub	eax, ecx
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	cmp, .-cmp
	.globl	L
	.bss
	.align 4
	.type	L, @object
	.size	L, 4
L:
	.zero	4
	.globl	S
	.align 4
	.type	S, @object
	.size	S, 4
S:
	.zero	4
	.globl	T
	.align 4
	.type	T, @object
	.size	T, 4
T:
	.zero	4
	.globl	M
	.align 4
	.type	M, @object
	.size	M, 4
M:
	.zero	4
	.globl	A
	.align 32
	.type	A, @object
	.size	A, 476
A:
	.zero	476
	.globl	F
	.align 32
	.type	F, @object
	.size	F, 20000036
F:
	.zero	20000036
	.globl	D
	.align 32
	.type	D, @object
	.size	D, 20000036
D:
	.zero	20000036
	.section	.rodata
.LC0:
	.string	"%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB8:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	rbx
	sub	rsp, 56
	.cfi_offset 3, -24
	mov	DWORD PTR -56[rbp], 0
	mov	DWORD PTR L[rip], 0
	nop
.L7:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L6
	cmp	DWORD PTR -36[rbp], 45
	jne	.L7
.L6:
	cmp	DWORD PTR -36[rbp], 45
	jne	.L8
	mov	DWORD PTR -56[rbp], 1
	jmp	.L10
.L8:
	mov	eax, DWORD PTR -36[rbp]
	sub	eax, 48
	mov	DWORD PTR L[rip], eax
	jmp	.L10
.L11:
	mov	edx, DWORD PTR L[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -36[rbp]
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR L[rip], eax
.L10:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -36[rbp], eax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L11
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -36[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -56[rbp], 0
	je	.L12
	mov	eax, DWORD PTR L[rip]
	neg	eax
	mov	DWORD PTR L[rip], eax
.L12:
	mov	DWORD PTR -52[rbp], 0
	mov	DWORD PTR S[rip], 0
	nop
.L14:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L13
	cmp	DWORD PTR -32[rbp], 45
	jne	.L14
.L13:
	cmp	DWORD PTR -32[rbp], 45
	jne	.L15
	mov	DWORD PTR -52[rbp], 1
	jmp	.L17
.L15:
	mov	eax, DWORD PTR -32[rbp]
	sub	eax, 48
	mov	DWORD PTR S[rip], eax
	jmp	.L17
.L18:
	mov	edx, DWORD PTR S[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -32[rbp]
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR S[rip], eax
.L17:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L18
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -32[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -52[rbp], 0
	je	.L19
	mov	eax, DWORD PTR S[rip]
	neg	eax
	mov	DWORD PTR S[rip], eax
.L19:
	mov	DWORD PTR -48[rbp], 0
	mov	DWORD PTR T[rip], 0
	nop
.L21:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L20
	cmp	DWORD PTR -28[rbp], 45
	jne	.L21
.L20:
	cmp	DWORD PTR -28[rbp], 45
	jne	.L22
	mov	DWORD PTR -48[rbp], 1
	jmp	.L24
.L22:
	mov	eax, DWORD PTR -28[rbp]
	sub	eax, 48
	mov	DWORD PTR T[rip], eax
	jmp	.L24
.L25:
	mov	edx, DWORD PTR T[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -28[rbp]
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR T[rip], eax
.L24:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -28[rbp], eax
	mov	eax, DWORD PTR -28[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L25
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -28[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -48[rbp], 0
	je	.L26
	mov	eax, DWORD PTR T[rip]
	neg	eax
	mov	DWORD PTR T[rip], eax
.L26:
	mov	DWORD PTR -44[rbp], 0
	mov	DWORD PTR M[rip], 0
	nop
.L28:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L27
	cmp	DWORD PTR -24[rbp], 45
	jne	.L28
.L27:
	cmp	DWORD PTR -24[rbp], 45
	jne	.L29
	mov	DWORD PTR -44[rbp], 1
	jmp	.L31
.L29:
	mov	eax, DWORD PTR -24[rbp]
	sub	eax, 48
	mov	DWORD PTR M[rip], eax
	jmp	.L31
.L32:
	mov	edx, DWORD PTR M[rip]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -24[rbp]
	add	eax, edx
	sub	eax, 48
	mov	DWORD PTR M[rip], eax
.L31:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -24[rbp], eax
	mov	eax, DWORD PTR -24[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L32
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -24[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -44[rbp], 0
	je	.L33
	mov	eax, DWORD PTR M[rip]
	neg	eax
	mov	DWORD PTR M[rip], eax
.L33:
	mov	DWORD PTR A[rip], 0
	mov	DWORD PTR -64[rbp], 0
	jmp	.L34
.L42:
	mov	DWORD PTR -40[rbp], 0
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rdx
	mov	DWORD PTR [rax], 0
	nop
.L36:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L35
	cmp	DWORD PTR -20[rbp], 45
	jne	.L36
.L35:
	cmp	DWORD PTR -20[rbp], 45
	jne	.L37
	mov	DWORD PTR -40[rbp], 1
	jmp	.L39
.L37:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rdx
	mov	edx, DWORD PTR -20[rbp]
	sub	edx, 48
	mov	DWORD PTR [rax], edx
	jmp	.L39
.L40:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -20[rbp]
	add	edx, eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rcx
	sub	edx, 48
	mov	DWORD PTR [rax], edx
.L39:
	call	__ctype_b_loc@PLT
	mov	rbx, QWORD PTR [rax]
	call	getchar@PLT
	mov	DWORD PTR -20[rbp], eax
	mov	eax, DWORD PTR -20[rbp]
	cdqe
	add	rax, rax
	add	rax, rbx
	movzx	eax, WORD PTR [rax]
	movzx	eax, ax
	and	eax, 2048
	test	eax, eax
	jne	.L40
	mov	rdx, QWORD PTR stdin[rip]
	mov	eax, DWORD PTR -20[rbp]
	mov	rsi, rdx
	mov	edi, eax
	call	ungetc@PLT
	cmp	DWORD PTR -40[rbp], 0
	je	.L41
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, A[rip]
	add	rax, rcx
	neg	edx
	mov	DWORD PTR [rax], edx
.L41:
	add	DWORD PTR -64[rbp], 1
.L34:
	mov	eax, DWORD PTR M[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L42
	mov	eax, DWORD PTR M[rip]
	cdqe
	lea	rcx, cmp[rip]
	mov	edx, 4
	mov	rsi, rax
	lea	rdi, A[rip]
	call	qsort@PLT
	mov	DWORD PTR -64[rbp], 1
	jmp	.L43
.L47:
	mov	eax, DWORD PTR -64[rbp]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L45
.L46:
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	mov	eax, DWORD PTR [rdx+rax]
	lea	ecx, -2520[rax]
	mov	eax, DWORD PTR -60[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	mov	DWORD PTR [rdx+rax], ecx
	add	DWORD PTR -60[rbp], 1
.L45:
	mov	eax, DWORD PTR M[rip]
	cmp	DWORD PTR -60[rbp], eax
	jl	.L46
.L44:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	mov	eax, DWORD PTR [rdx+rax]
	mov	edx, DWORD PTR -64[rbp]
	sub	edx, 1
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, A[rip]
	mov	edx, DWORD PTR [rcx+rdx]
	sub	eax, edx
	cmp	eax, 2520
	jg	.L47
	add	DWORD PTR -64[rbp], 1
.L43:
	mov	eax, DWORD PTR M[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L44
	mov	DWORD PTR -64[rbp], 0
	jmp	.L49
.L50:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, A[rip]
	mov	eax, DWORD PTR [rdx+rax]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, D[rip]
	mov	DWORD PTR [rdx+rax], 1
	add	DWORD PTR -64[rbp], 1
.L49:
	mov	eax, DWORD PTR M[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L50
	mov	DWORD PTR -64[rbp], 5000000
	jmp	.L51
.L56:
	mov	eax, DWORD PTR L[rip]
	cmp	DWORD PTR -64[rbp], eax
	jl	.L52
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	DWORD PTR [rdx+rax], 0
	jmp	.L53
.L52:
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	DWORD PTR [rdx+rax], 2139062143
.L53:
	mov	eax, DWORD PTR S[rip]
	mov	DWORD PTR -60[rbp], eax
	jmp	.L54
.L55:
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, edx
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	edx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rcx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	eax, DWORD PTR [rcx+rax]
	mov	esi, edx
	mov	edi, eax
	call	min
	mov	edx, DWORD PTR -64[rbp]
	movsx	rdx, edx
	lea	rcx, 0[0+rdx*4]
	lea	rdx, F[rip]
	mov	DWORD PTR [rcx+rdx], eax
	add	DWORD PTR -60[rbp], 1
.L54:
	mov	eax, DWORD PTR T[rip]
	cmp	DWORD PTR -60[rbp], eax
	jle	.L55
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	ecx, DWORD PTR [rdx+rax]
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, D[rip]
	mov	eax, DWORD PTR [rdx+rax]
	add	ecx, eax
	mov	eax, DWORD PTR -64[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	lea	rax, F[rip]
	mov	DWORD PTR [rdx+rax], ecx
	sub	DWORD PTR -64[rbp], 1
.L51:
	cmp	DWORD PTR -64[rbp], 0
	jns	.L56
	mov	eax, DWORD PTR F[rip]
	mov	esi, eax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.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	"612968.c"
	.text
	.align	2
	.global	min
	.syntax unified
	.arm
	.fpu softvfp
	.type	min, %function
min:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r2, [fp, #-12]
	ldr	r3, [fp, #-8]
	cmp	r2, r3
	movlt	r3, r2
	movge	r3, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	min, .-min
	.align	2
	.global	cmp
	.syntax unified
	.arm
	.fpu softvfp
	.type	cmp, %function
cmp:
	@ args = 0, pretend = 0, frame = 8
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #12
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	ldr	r3, [fp, #-8]
	ldr	r2, [r3]
	ldr	r3, [fp, #-12]
	ldr	r3, [r3]
	sub	r3, r2, r3
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	cmp, .-cmp
	.comm	L,4,4
	.comm	S,4,4
	.comm	T,4,4
	.comm	M,4,4
	.comm	A,476,4
	.comm	F,20000036,4
	.comm	D,20000036,4
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\012\000"
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 48
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, fp, lr}
	add	fp, sp, #8
	sub	sp, sp, #52
	mov	r3, #0
	str	r3, [fp, #-52]
	ldr	r3, .L58
	mov	r2, #0
	str	r2, [r3]
	nop
.L7:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L6
	ldr	r3, [fp, #-32]
	cmp	r3, #45
	bne	.L7
.L6:
	ldr	r3, [fp, #-32]
	cmp	r3, #45
	bne	.L8
	mov	r3, #1
	str	r3, [fp, #-52]
	b	.L10
.L8:
	ldr	r3, [fp, #-32]
	sub	r3, r3, #48
	ldr	r2, .L58
	str	r3, [r2]
	b	.L10
.L11:
	ldr	r3, .L58
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-32]
	add	r3, r2, r3
	sub	r3, r3, #48
	ldr	r2, .L58
	str	r3, [r2]
.L10:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-32]
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L11
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-32]
	bl	ungetc
	ldr	r3, [fp, #-52]
	cmp	r3, #0
	beq	.L12
	ldr	r3, .L58
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r2, .L58
	str	r3, [r2]
.L12:
	mov	r3, #0
	str	r3, [fp, #-48]
	ldr	r3, .L58+8
	mov	r2, #0
	str	r2, [r3]
	nop
.L14:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L13
	ldr	r3, [fp, #-28]
	cmp	r3, #45
	bne	.L14
.L13:
	ldr	r3, [fp, #-28]
	cmp	r3, #45
	bne	.L15
	mov	r3, #1
	str	r3, [fp, #-48]
	b	.L17
.L15:
	ldr	r3, [fp, #-28]
	sub	r3, r3, #48
	ldr	r2, .L58+8
	str	r3, [r2]
	b	.L17
.L18:
	ldr	r3, .L58+8
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-28]
	add	r3, r2, r3
	sub	r3, r3, #48
	ldr	r2, .L58+8
	str	r3, [r2]
.L17:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-28]
	ldr	r3, [fp, #-28]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L18
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-28]
	bl	ungetc
	ldr	r3, [fp, #-48]
	cmp	r3, #0
	beq	.L19
	ldr	r3, .L58+8
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r2, .L58+8
	str	r3, [r2]
.L19:
	mov	r3, #0
	str	r3, [fp, #-44]
	ldr	r3, .L58+12
	mov	r2, #0
	str	r2, [r3]
	nop
.L21:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L20
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L21
.L20:
	ldr	r3, [fp, #-24]
	cmp	r3, #45
	bne	.L22
	mov	r3, #1
	str	r3, [fp, #-44]
	b	.L24
.L22:
	ldr	r3, [fp, #-24]
	sub	r3, r3, #48
	ldr	r2, .L58+12
	str	r3, [r2]
	b	.L24
.L25:
	ldr	r3, .L58+12
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-24]
	add	r3, r2, r3
	sub	r3, r3, #48
	ldr	r2, .L58+12
	str	r3, [r2]
.L24:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L25
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-24]
	bl	ungetc
	ldr	r3, [fp, #-44]
	cmp	r3, #0
	beq	.L26
	ldr	r3, .L58+12
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r2, .L58+12
	str	r3, [r2]
.L26:
	mov	r3, #0
	str	r3, [fp, #-40]
	ldr	r3, .L58+16
	mov	r2, #0
	str	r2, [r3]
	nop
.L28:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L27
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	bne	.L28
.L27:
	ldr	r3, [fp, #-20]
	cmp	r3, #45
	bne	.L29
	mov	r3, #1
	str	r3, [fp, #-40]
	b	.L31
.L29:
	ldr	r3, [fp, #-20]
	sub	r3, r3, #48
	ldr	r2, .L58+16
	str	r3, [r2]
	b	.L31
.L32:
	ldr	r3, .L58+16
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-20]
	add	r3, r2, r3
	sub	r3, r3, #48
	ldr	r2, .L58+16
	str	r3, [r2]
.L31:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-20]
	ldr	r3, [fp, #-20]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L32
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-20]
	bl	ungetc
	ldr	r3, [fp, #-40]
	cmp	r3, #0
	beq	.L33
	ldr	r3, .L58+16
	ldr	r3, [r3]
	rsb	r3, r3, #0
	ldr	r2, .L58+16
	str	r3, [r2]
.L33:
	ldr	r3, .L58+20
	mov	r2, #0
	str	r2, [r3]
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L34
.L42:
	mov	r3, #0
	str	r3, [fp, #-36]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, .L58+20
	add	r3, r3, r2
	mov	r2, #0
	str	r2, [r3]
	nop
.L36:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L35
	ldr	r3, [fp, #-16]
	cmp	r3, #45
	bne	.L36
.L35:
	ldr	r3, [fp, #-16]
	cmp	r3, #45
	bne	.L37
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L39
.L37:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, .L58+20
	add	r3, r3, r2
	ldr	r2, [fp, #-16]
	sub	r2, r2, #48
	str	r2, [r3]
	b	.L39
.L40:
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, .L58+20
	add	r3, r3, r2
	ldr	r2, [r3]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r1, .L58+20
	add	r3, r3, r1
	sub	r2, r2, #48
	str	r2, [r3]
.L39:
	bl	__ctype_b_loc
	mov	r3, r0
	ldr	r4, [r3]
	bl	getchar
	str	r0, [fp, #-16]
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #1
	add	r3, r4, r3
	ldrh	r3, [r3]
	and	r3, r3, #2048
	cmp	r3, #0
	bne	.L40
	ldr	r3, .L58+4
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, [fp, #-16]
	bl	ungetc
	ldr	r3, [fp, #-36]
	cmp	r3, #0
	beq	.L41
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r2, .L58+20
	add	r3, r3, r2
	ldr	r2, [r3]
	ldr	r3, [fp, #-60]
	lsl	r3, r3, #2
	ldr	r1, .L58+20
	add	r3, r3, r1
	rsb	r2, r2, #0
	str	r2, [r3]
.L41:
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L34:
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L42
	ldr	r3, .L58+16
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r3, .L58+24
	mov	r2, #4
	ldr	r0, .L58+20
	bl	qsort
	mov	r3, #1
	str	r3, [fp, #-60]
	b	.L43
.L47:
	ldr	r3, [fp, #-60]
	str	r3, [fp, #-56]
	b	.L45
.L46:
	ldr	r2, .L58+20
	ldr	r3, [fp, #-56]
	ldr	r3, [r2, r3, lsl #2]
	sub	r3, r3, #2512
	sub	r3, r3, #8
	ldr	r1, .L58+20
	ldr	r2, [fp, #-56]
	str	r3, [r1, r2, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L45:
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	blt	.L46
.L44:
	ldr	r2, .L58+20
	ldr	r3, [fp, #-60]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	ldr	r1, .L58+20
	ldr	r3, [r1, r3, lsl #2]
	sub	r3, r2, r3
	ldr	r2, .L58+28
	cmp	r3, r2
	bgt	.L47
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L43:
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L44
	mov	r3, #0
	str	r3, [fp, #-60]
	b	.L49
.L50:
	ldr	r2, .L58+20
	ldr	r3, [fp, #-60]
	ldr	r3, [r2, r3, lsl #2]
	ldr	r2, .L58+32
	mov	r1, #1
	str	r1, [r2, r3, lsl #2]
	ldr	r3, [fp, #-60]
	add	r3, r3, #1
	str	r3, [fp, #-60]
.L49:
	ldr	r3, .L58+16
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L50
	ldr	r3, .L58+36
	str	r3, [fp, #-60]
	b	.L51
.L56:
	ldr	r3, .L58
	ldr	r3, [r3]
	ldr	r2, [fp, #-60]
	cmp	r2, r3
	blt	.L52
	ldr	r2, .L58+40
	ldr	r3, [fp, #-60]
	mov	r1, #0
	str	r1, [r2, r3, lsl #2]
	b	.L53
.L52:
	ldr	r2, .L58+40
	ldr	r3, [fp, #-60]
	ldr	r1, .L58+44
	str	r1, [r2, r3, lsl #2]
.L53:
	ldr	r3, .L58+8
	ldr	r3, [r3]
	str	r3, [fp, #-56]
	b	.L54
.L55:
	ldr	r2, .L58+40
	ldr	r3, [fp, #-60]
	ldr	r0, [r2, r3, lsl #2]
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	add	r3, r2, r3
	ldr	r2, .L58+40
	ldr	r3, [r2, r3, lsl #2]
	mov	r1, r3
	bl	min
	mov	r2, r0
	ldr	r1, .L58+40
	ldr	r3, [fp, #-60]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-56]
	add	r3, r3, #1
	str	r3, [fp, #-56]
.L54:
	ldr	r3, .L58+12
	ldr	r3, [r3]
	ldr	r2, [fp, #-56]
	cmp	r2, r3
	ble	.L55
	ldr	r2, .L58+40
	ldr	r3, [fp, #-60]
	ldr	r2, [r2, r3, lsl #2]
	ldr	r1, .L58+32
	ldr	r3, [fp, #-60]
	ldr	r3, [r1, r3, lsl #2]
	add	r2, r2, r3
	ldr	r1, .L58+40
	ldr	r3, [fp, #-60]
	str	r2, [r1, r3, lsl #2]
	ldr	r3, [fp, #-60]
	sub	r3, r3, #1
	str	r3, [fp, #-60]
.L51:
	ldr	r3, [fp, #-60]
	cmp	r3, #0
	bge	.L56
	ldr	r3, .L58+40
	ldr	r3, [r3]
	mov	r1, r3
	ldr	r0, .L58+48
	bl	printf
	mov	r3, #0
	mov	r0, r3
	sub	sp, fp, #8
	@ sp needed
	pop	{r4, fp, pc}
.L59:
	.align	2
.L58:
	.word	L
	.word	stdin
	.word	S
	.word	T
	.word	M
	.word	A
	.word	cmp
	.word	2520
	.word	D
	.word	5000000
	.word	F
	.word	2139062143
	.word	.LC0
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
