	.file	"838841.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
	.align 8
.LC0:
	.string	"\350\257\267\350\276\223\345\205\245\345\255\246\347\224\237\347\232\204\345\255\246\345\217\267\345\217\212\346\210\220\347\273\251\344\277\241\346\201\257\357\274\214\350\276\223\345\205\245\344\273\273\346\204\217\345\255\227\346\257\215\346\235\245\347\273\223\346\235\237"
	.align 8
.LC1:
	.string	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344\275\215\345\255\246\347\224\237\347\232\204\345\255\246\345\217\267\n"
	.align 8
.LC2:
	.string	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344\275\215\345\255\246\347\224\237\347\232\204\345\271\263\346\227\266\346\210\220\347\273\251\n"
	.align 8
.LC3:
	.string	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344\275\215\345\255\246\347\224\237\347\232\204\346\234\237\346\234\253\346\210\220\347\273\251\n"
.LC4:
	.string	"%lf"
	.text
	.globl	input
	.type	input, @function
input:
.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
	mov	QWORD PTR -24[rbp], rdi
	lea	rdi, .LC0[rip]
	call	puts@PLT
	mov	DWORD PTR -8[rbp], 0
.L10:
	mov	DWORD PTR -4[rbp], 0
	jmp	.L2
.L9:
	cmp	DWORD PTR -4[rbp], 2
	je	.L3
	cmp	DWORD PTR -4[rbp], 2
	jg	.L4
	cmp	DWORD PTR -4[rbp], 0
	je	.L5
	cmp	DWORD PTR -4[rbp], 1
	je	.L6
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L6:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC2[rip]
	mov	eax, 0
	call	printf@PLT
	jmp	.L4
.L3:
	mov	eax, DWORD PTR -8[rbp]
	add	eax, 1
	mov	esi, eax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	printf@PLT
	nop
.L4:
	mov	eax, DWORD PTR -8[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 3
	add	rax, rdx
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	test	eax, eax
	jne	.L7
	mov	eax, DWORD PTR -8[rbp]
	jmp	.L11
.L7:
	add	DWORD PTR -4[rbp], 1
.L2:
	cmp	DWORD PTR -4[rbp], 2
	jle	.L9
	add	DWORD PTR -8[rbp], 1
	jmp	.L10
.L11:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE0:
	.size	input, .-input
	.globl	zongpingchengji
	.type	zongpingchengji, @function
zongpingchengji:
.LFB1:
	.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
	movsd	QWORD PTR -32[rbp], xmm0
	movsd	QWORD PTR -40[rbp], xmm1
	mov	DWORD PTR -44[rbp], esi
	mov	DWORD PTR -4[rbp], 0
	jmp	.L13
.L14:
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 8[rax]
	movapd	xmm1, xmm0
	mulsd	xmm1, QWORD PTR -32[rbp]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR 16[rax]
	mulsd	xmm0, QWORD PTR -40[rbp]
	addsd	xmm0, xmm1
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -24[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR .LC5[rip]
	divsd	xmm0, xmm1
	movsd	QWORD PTR 24[rax], xmm0
	add	DWORD PTR -4[rbp], 1
.L13:
	mov	eax, DWORD PTR -4[rbp]
	cmp	eax, DWORD PTR -44[rbp]
	jl	.L14
	nop
	nop
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE1:
	.size	zongpingchengji, .-zongpingchengji
	.section	.rodata
	.align 8
.LC6:
	.string	"\345\210\206\347\261\273\t\t\351\241\271\347\233\256\t\t\344\270\215\345\217\212\346\240\274\t60~69\345\210\206\t70~79\345\210\206\t80~89\345\210\206\t90~100\345\210\206\t\345\271\263\345\235\207\345\210\206\t\346\240\207\345\207\206\345\267\256\t"
.LC7:
	.string	"\345\271\263\346\227\266\346\210\220\347\273\251\t\344\272\272\346\225\260\t\t"
.LC8:
	.string	"%d\t\t"
.LC9:
	.string	"%.2lf\t%.2lf\n"
.LC10:
	.string	"\t\t\346\257\224\344\276\213\t\t"
.LC11:
	.string	"%d%%\t\t"
.LC12:
	.string	"\n\346\234\237\346\234\253\346\210\220\347\273\251\t\344\272\272\346\225\260\t\t"
.LC13:
	.string	"\n\346\200\273\350\257\204\346\210\220\347\273\251\t\344\272\272\346\225\260\t\t"
	.text
	.globl	output
	.type	output, @function
output:
.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, 48
	mov	QWORD PTR -24[rbp], rdi
	mov	QWORD PTR -32[rbp], rsi
	mov	QWORD PTR -40[rbp], rdx
	lea	rdi, .LC6[rip]
	call	puts@PLT
	lea	rdi, .LC7[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L16
.L17:
	mov	rax, QWORD PTR -24[rbp]
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	movsd	xmm0, QWORD PTR [rax+rdx*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L16:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L17
	mov	rax, QWORD PTR -40[rbp]
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L18
.L19:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 40[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L18:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L19
	lea	rdi, .LC12[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L20
.L21:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 80[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L20:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L21
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 8
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 8
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L22
.L23:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 120[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L22:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L23
	lea	rdi, .LC13[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L24
.L25:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 160[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC8[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L24:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L25
	mov	rax, QWORD PTR -40[rbp]
	add	rax, 16
	movsd	xmm0, QWORD PTR [rax]
	mov	rax, QWORD PTR -32[rbp]
	add	rax, 16
	mov	rax, QWORD PTR [rax]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC9[rip]
	mov	eax, 2
	call	printf@PLT
	lea	rdi, .LC10[rip]
	mov	eax, 0
	call	printf@PLT
	mov	DWORD PTR -4[rbp], 0
	jmp	.L26
.L27:
	mov	rax, QWORD PTR -24[rbp]
	lea	rdx, 200[rax]
	mov	eax, DWORD PTR -4[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	cvttsd2si	eax, xmm0
	mov	esi, eax
	lea	rdi, .LC11[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -4[rbp], 1
.L26:
	cmp	DWORD PTR -4[rbp], 4
	jle	.L27
	nop
	nop
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE2:
	.size	output, .-output
	.globl	tongji
	.type	tongji, @function
tongji:
.LFB3:
	.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, 88
	.cfi_offset 3, -24
	mov	QWORD PTR -56[rbp], rdi
	mov	QWORD PTR -64[rbp], rsi
	mov	DWORD PTR -68[rbp], edx
	mov	QWORD PTR -80[rbp], rcx
	mov	QWORD PTR -88[rbp], r8
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -40[rbp], 1
	jmp	.L29
.L42:
	pxor	xmm0, xmm0
	movsd	QWORD PTR -32[rbp], xmm0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -24[rbp], xmm0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L30
.L37:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	movsd	xmm1, QWORD PTR .LC15[rip]
	divsd	xmm0, xmm1
	cvttsd2si	eax, xmm0
	cmp	eax, 10
	jg	.L31
	cmp	eax, 9
	jge	.L32
	cmp	eax, 8
	je	.L33
	cmp	eax, 8
	jg	.L31
	cmp	eax, 6
	je	.L34
	cmp	eax, 7
	je	.L35
	jmp	.L31
.L32:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 32[rax]
	movsd	xmm0, QWORD PTR .LC16[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR 32[rax], xmm0
	jmp	.L36
.L33:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 24[rax]
	movsd	xmm0, QWORD PTR .LC16[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR 24[rax], xmm0
	jmp	.L36
.L35:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 16[rax]
	movsd	xmm0, QWORD PTR .LC16[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR 16[rax], xmm0
	jmp	.L36
.L34:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR 8[rax]
	movsd	xmm0, QWORD PTR .LC16[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR 8[rax], xmm0
	jmp	.L36
.L31:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rax, rdx
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR .LC16[rip]
	addsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	nop
.L36:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	movsd	xmm1, QWORD PTR -32[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -32[rbp], xmm0
	add	DWORD PTR -36[rbp], 1
.L30:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L37
	mov	DWORD PTR -36[rbp], 0
	jmp	.L38
.L39:
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -80[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	pxor	xmm2, xmm2
	cvtsi2sd	xmm2, DWORD PTR -68[rbp]
	movapd	xmm1, xmm0
	divsd	xmm1, xmm2
	mov	eax, DWORD PTR -40[rbp]
	add	eax, eax
	movsx	rdx, eax
	mov	rax, rdx
	sal	rax, 2
	add	rax, rdx
	sal	rax, 3
	lea	rdx, -40[rax]
	mov	rax, QWORD PTR -64[rbp]
	add	rdx, rax
	movsd	xmm0, QWORD PTR .LC5[rip]
	mulsd	xmm0, xmm1
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	movsd	QWORD PTR [rdx+rax*8], xmm0
	add	DWORD PTR -36[rbp], 1
.L38:
	cmp	DWORD PTR -36[rbp], 4
	jle	.L39
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm0, QWORD PTR -32[rbp]
	divsd	xmm0, xmm1
	movsd	QWORD PTR [rax], xmm0
	mov	DWORD PTR -36[rbp], 0
	jmp	.L40
.L41:
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	movapd	xmm1, xmm0
	subsd	xmm1, xmm2
	mov	eax, DWORD PTR -36[rbp]
	cdqe
	sal	rax, 5
	mov	rdx, rax
	mov	rax, QWORD PTR -56[rbp]
	add	rdx, rax
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	movsd	xmm0, QWORD PTR [rdx+rax*8]
	mov	eax, DWORD PTR -40[rbp]
	cdqe
	sal	rax, 3
	lea	rdx, -8[rax]
	mov	rax, QWORD PTR -80[rbp]
	add	rax, rdx
	movsd	xmm2, QWORD PTR [rax]
	subsd	xmm0, xmm2
	mulsd	xmm0, xmm1
	movsd	xmm1, QWORD PTR -24[rbp]
	addsd	xmm0, xmm1
	movsd	QWORD PTR -24[rbp], xmm0
	add	DWORD PTR -36[rbp], 1
.L40:
	mov	eax, DWORD PTR -36[rbp]
	cmp	eax, DWORD PTR -68[rbp]
	jl	.L41
	pxor	xmm1, xmm1
	cvtsi2sd	xmm1, DWORD PTR -68[rbp]
	movsd	xmm0, QWORD PTR -24[rbp]
	divsd	xmm0, xmm1
	movq	rax, xmm0
	mov	edx, DWORD PTR -40[rbp]
	movsx	rdx, edx
	sal	rdx, 3
	lea	rcx, -8[rdx]
	mov	rdx, QWORD PTR -88[rbp]
	lea	rbx, [rcx+rdx]
	movq	xmm0, rax
	call	sqrt@PLT
	movq	rax, xmm0
	mov	QWORD PTR [rbx], rax
	add	DWORD PTR -40[rbp], 1
.L29:
	cmp	DWORD PTR -40[rbp], 3
	jle	.L42
	nop
	nop
	mov	rbx, QWORD PTR -8[rbp]
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE3:
	.size	tongji, .-tongji
	.section	.rodata
	.align 8
.LC17:
	.string	"\350\257\267\350\276\223\345\205\245\345\271\263\346\227\266\346\210\220\347\273\251\346\211\200\345\215\240\346\257\224\344\276\213\347\231\276\345\210\206\346\257\224"
	.align 8
.LC18:
	.string	"\350\257\267\350\276\223\345\205\245\346\234\237\346\234\253\346\210\220\347\273\251\346\211\200\345\215\240\346\257\224\344\276\213\347\231\276\345\210\206\346\257\224"
	.align 8
.LC19:
	.string	"\n\346\234\237\346\234\253\350\200\203\350\257\225\345\215\267\351\235\242\345\217\212\346\240\274\347\216\207\357\274\232%.2lf%%\t"
	.align 8
.LC20:
	.string	"\346\234\237\346\234\253\350\200\203\350\257\225\345\215\267\351\235\242\346\234\200\351\253\230\345\210\206\357\274\232%.2lf\t"
	.align 8
.LC21:
	.string	"\346\234\237\346\234\253\350\200\203\350\257\225\345\215\267\351\235\242\346\234\200\344\275\216\345\210\206\357\274\232%.2lf\n"
	.align 8
.LC22:
	.string	"\346\200\273\350\257\204=\345\271\263\346\227\266X%.2lf%%+\350\200\203\350\257\225X%.2lf%%\t"
.LC23:
	.string	"\345\255\246\347\224\237\346\200\273\344\272\272\346\225\260\357\274\232%d\n"
	.text
	.globl	main
	.type	main, @function
main:
.LFB4:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 3568
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdx, -3216[rbp]
	mov	eax, 0
	mov	ecx, 400
	mov	rdi, rdx
	rep stosq
	lea	rdx, -3456[rbp]
	mov	eax, 0
	mov	ecx, 30
	mov	rdi, rdx
	rep stosq
	mov	QWORD PTR -3520[rbp], 0
	mov	QWORD PTR -3512[rbp], 0
	mov	QWORD PTR -3504[rbp], 0
	mov	QWORD PTR -3488[rbp], 0
	mov	QWORD PTR -3480[rbp], 0
	mov	QWORD PTR -3472[rbp], 0
	pxor	xmm0, xmm0
	movsd	QWORD PTR -3536[rbp], xmm0
	movsd	xmm0, QWORD PTR .LC5[rip]
	movsd	QWORD PTR -3528[rbp], xmm0
	lea	rdi, .LC17[rip]
	call	puts@PLT
	lea	rax, -3552[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rdi, .LC18[rip]
	call	puts@PLT
	lea	rax, -3544[rbp]
	mov	rsi, rax
	lea	rdi, .LC4[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -3216[rbp]
	mov	rdi, rax
	call	input
	mov	DWORD PTR -3556[rbp], eax
	movsd	xmm0, QWORD PTR -3544[rbp]
	mov	rdx, QWORD PTR -3552[rbp]
	mov	ecx, DWORD PTR -3556[rbp]
	lea	rax, -3216[rbp]
	mov	esi, ecx
	movapd	xmm1, xmm0
	movq	xmm0, rdx
	mov	rdi, rax
	call	zongpingchengji
	lea	rdi, -3488[rbp]
	lea	rcx, -3520[rbp]
	mov	edx, DWORD PTR -3556[rbp]
	lea	rsi, -3456[rbp]
	lea	rax, -3216[rbp]
	mov	r8, rdi
	mov	rdi, rax
	call	tongji
	lea	rdx, -3488[rbp]
	lea	rcx, -3520[rbp]
	lea	rax, -3456[rbp]
	mov	rsi, rcx
	mov	rdi, rax
	call	output
	mov	DWORD PTR -3560[rbp], 0
	jmp	.L44
.L51:
	mov	eax, DWORD PTR -3560[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 3200
	movsd	xmm0, QWORD PTR [rax]
	comisd	xmm0, QWORD PTR -3536[rbp]
	jbe	.L56
	mov	eax, DWORD PTR -3560[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 3200
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L47
.L56:
	movsd	xmm0, QWORD PTR -3536[rbp]
.L47:
	movsd	QWORD PTR -3536[rbp], xmm0
	mov	eax, DWORD PTR -3560[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 3200
	movsd	xmm1, QWORD PTR [rax]
	movsd	xmm0, QWORD PTR -3528[rbp]
	comisd	xmm0, xmm1
	jbe	.L57
	mov	eax, DWORD PTR -3560[rbp]
	cdqe
	sal	rax, 5
	add	rax, rbp
	sub	rax, 3200
	movsd	xmm0, QWORD PTR [rax]
	jmp	.L50
.L57:
	movsd	xmm0, QWORD PTR -3528[rbp]
.L50:
	movsd	QWORD PTR -3528[rbp], xmm0
	add	DWORD PTR -3560[rbp], 1
.L44:
	mov	eax, DWORD PTR -3560[rbp]
	cmp	eax, DWORD PTR -3556[rbp]
	jl	.L51
	movsd	xmm1, QWORD PTR -3336[rbp]
	movsd	xmm0, QWORD PTR .LC5[rip]
	subsd	xmm0, xmm1
	movq	rax, xmm0
	movq	xmm0, rax
	lea	rdi, .LC19[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -3536[rbp]
	movq	xmm0, rax
	lea	rdi, .LC20[rip]
	mov	eax, 1
	call	printf@PLT
	mov	rax, QWORD PTR -3528[rbp]
	movq	xmm0, rax
	lea	rdi, .LC21[rip]
	mov	eax, 1
	call	printf@PLT
	movsd	xmm0, QWORD PTR -3544[rbp]
	mov	rax, QWORD PTR -3552[rbp]
	movapd	xmm1, xmm0
	movq	xmm0, rax
	lea	rdi, .LC22[rip]
	mov	eax, 2
	call	printf@PLT
	mov	eax, DWORD PTR -3556[rbp]
	mov	esi, eax
	lea	rdi, .LC23[rip]
	mov	eax, 0
	call	printf@PLT
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L53
	call	__stack_chk_fail@PLT
.L53:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE4:
	.size	main, .-main
	.section	.rodata
	.align 8
.LC5:
	.long	0
	.long	1079574528
	.align 8
.LC15:
	.long	0
	.long	1076101120
	.align 8
.LC16:
	.long	0
	.long	1072693248
	.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	"838841.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"\350\257\267\350\276\223\345\205\245\345\255\246\347"
	.ascii	"\224\237\347\232\204\345\255\246\345\217\267\345\217"
	.ascii	"\212\346\210\220\347\273\251\344\277\241\346\201\257"
	.ascii	"\357\274\214\350\276\223\345\205\245\344\273\273\346"
	.ascii	"\204\217\345\255\227\346\257\215\346\235\245\347\273"
	.ascii	"\223\346\235\237\000"
	.align	2
.LC1:
	.ascii	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344"
	.ascii	"\275\215\345\255\246\347\224\237\347\232\204\345\255"
	.ascii	"\246\345\217\267\012\000"
	.align	2
.LC2:
	.ascii	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344"
	.ascii	"\275\215\345\255\246\347\224\237\347\232\204\345\271"
	.ascii	"\263\346\227\266\346\210\220\347\273\251\012\000"
	.align	2
.LC3:
	.ascii	"\350\257\267\350\276\223\345\205\245\347\254\254%d\344"
	.ascii	"\275\215\345\255\246\347\224\237\347\232\204\346\234"
	.ascii	"\237\346\234\253\346\210\220\347\273\251\012\000"
	.align	2
.LC4:
	.ascii	"%lf\000"
	.text
	.align	2
	.global	input
	.syntax unified
	.arm
	.fpu softvfp
	.type	input, %function
input:
	@ 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	r0, .L12
	bl	puts
	mov	r3, #0
	str	r3, [fp, #-12]
.L10:
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L2
.L9:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	beq	.L3
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	bgt	.L4
	ldr	r3, [fp, #-8]
	cmp	r3, #0
	beq	.L5
	ldr	r3, [fp, #-8]
	cmp	r3, #1
	beq	.L6
	b	.L4
.L5:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L12+4
	bl	printf
	b	.L4
.L6:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L12+8
	bl	printf
	b	.L4
.L3:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	mov	r1, r3
	ldr	r0, .L12+12
	bl	printf
	nop
.L4:
	ldr	r3, [fp, #-12]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-16]
	add	r2, r2, r3
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	mov	r1, r3
	ldr	r0, .L12+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmp	r3, #0
	bne	.L7
	ldr	r3, [fp, #-12]
	b	.L11
.L7:
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L2:
	ldr	r3, [fp, #-8]
	cmp	r3, #2
	ble	.L9
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
	b	.L10
.L11:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L13:
	.align	2
.L12:
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	.LC4
	.size	input, .-input
	.global	__aeabi_dmul
	.global	__aeabi_dadd
	.global	__aeabi_ddiv
	.align	2
	.global	zongpingchengji
	.syntax unified
	.arm
	.fpu softvfp
	.type	zongpingchengji, %function
zongpingchengji:
	@ args = 12, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #24
	str	r0, [fp, #-24]
	str	r2, [fp, #-36]
	str	r3, [fp, #-32]
	mov	r3, #0
	str	r3, [fp, #-16]
	b	.L15
.L16:
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r1, r3, #8
	ldmia	r1, {r0-r1}
	sub	r3, fp, #36
	ldmia	r3, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r3, r2, r3
	add	r1, r3, #16
	ldmia	r1, {r0-r1}
	ldmib	fp, {r2-r3}
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-16]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-24]
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L17
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
	ldr	r3, [fp, #-16]
	add	r3, r3, #1
	str	r3, [fp, #-16]
.L15:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #12]
	cmp	r2, r3
	blt	.L16
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L18:
	.align	2
.L17:
	.word	1079574528
	.size	zongpingchengji, .-zongpingchengji
	.section	.rodata
	.align	2
.LC5:
	.ascii	"\345\210\206\347\261\273\011\011\351\241\271\347\233"
	.ascii	"\256\011\011\344\270\215\345\217\212\346\240\274\011"
	.ascii	"60~69\345\210\206\01170~79\345\210\206\01180~89\345"
	.ascii	"\210\206\01190~100\345\210\206\011\345\271\263\345\235"
	.ascii	"\207\345\210\206\011\346\240\207\345\207\206\345\267"
	.ascii	"\256\011\000"
	.align	2
.LC6:
	.ascii	"\345\271\263\346\227\266\346\210\220\347\273\251\011"
	.ascii	"\344\272\272\346\225\260\011\011\000"
	.global	__aeabi_d2iz
	.align	2
.LC7:
	.ascii	"%d\011\011\000"
	.align	2
.LC8:
	.ascii	"%.2lf\011%.2lf\012\000"
	.align	2
.LC9:
	.ascii	"\011\011\346\257\224\344\276\213\011\011\000"
	.align	2
.LC10:
	.ascii	"%d%%\011\011\000"
	.align	2
.LC11:
	.ascii	"\012\346\234\237\346\234\253\346\210\220\347\273\251"
	.ascii	"\011\344\272\272\346\225\260\011\011\000"
	.align	2
.LC12:
	.ascii	"\012\346\200\273\350\257\204\346\210\220\347\273\251"
	.ascii	"\011\344\272\272\346\225\260\011\011\000"
	.text
	.align	2
	.global	output
	.syntax unified
	.arm
	.fpu softvfp
	.type	output, %function
output:
	@ args = 0, pretend = 0, frame = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #32
	str	r0, [fp, #-16]
	str	r1, [fp, #-20]
	str	r2, [fp, #-24]
	ldr	r0, .L32
	bl	puts
	ldr	r0, .L32+4
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L20
.L21:
	ldr	r2, [fp, #-16]
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L20:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L21
	ldr	r3, [fp, #-20]
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L32+12
	bl	printf
	ldr	r0, .L32+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L22
.L23:
	ldr	r3, [fp, #-16]
	add	r2, r3, #40
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L22:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L23
	ldr	r0, .L32+24
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L24
.L25:
	ldr	r3, [fp, #-16]
	add	r2, r3, #80
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L24:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L25
	ldr	r3, [fp, #-20]
	add	r3, r3, #8
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #8
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L32+12
	bl	printf
	ldr	r0, .L32+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L26
.L27:
	ldr	r3, [fp, #-16]
	add	r2, r3, #120
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L26:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L27
	ldr	r0, .L32+28
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L28
.L29:
	ldr	r3, [fp, #-16]
	add	r2, r3, #160
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+8
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L28:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L29
	ldr	r3, [fp, #-20]
	add	r3, r3, #16
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-24]
	add	r3, r3, #16
	ldmia	r3, {r2-r3}
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L32+12
	bl	printf
	ldr	r0, .L32+16
	bl	printf
	mov	r3, #0
	str	r3, [fp, #-8]
	b	.L30
.L31:
	ldr	r3, [fp, #-16]
	add	r2, r3, #200
	ldr	r3, [fp, #-8]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	mov	r1, r3
	ldr	r0, .L32+20
	bl	printf
	ldr	r3, [fp, #-8]
	add	r3, r3, #1
	str	r3, [fp, #-8]
.L30:
	ldr	r3, [fp, #-8]
	cmp	r3, #4
	ble	.L31
	nop
	nop
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L33:
	.align	2
.L32:
	.word	.LC5
	.word	.LC6
	.word	.LC7
	.word	.LC8
	.word	.LC9
	.word	.LC10
	.word	.LC11
	.word	.LC12
	.size	output, .-output
	.global	__aeabi_i2d
	.global	__aeabi_dsub
	.align	2
	.global	tongji
	.syntax unified
	.arm
	.fpu softvfp
	.type	tongji, %function
tongji:
	@ args = 4, pretend = 0, frame = 40
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #40
	str	r0, [fp, #-40]
	str	r1, [fp, #-44]
	str	r2, [fp, #-48]
	str	r3, [fp, #-52]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #1
	str	r3, [fp, #-36]
	b	.L35
.L49:
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L36
.L44:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	bl	__aeabi_d2iz
	mov	r3, r0
	sub	r3, r3, #6
	cmp	r3, #4
	ldrls	pc, [pc, r3, asl #2]
	b	.L37
.L39:
	.word	.L42
	.word	.L41
	.word	.L40
	.word	.L38
	.word	.L38
.L38:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	add	r1, r4, #32
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #32]
	str	r3, [r4, #36]
	b	.L43
.L40:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	add	r1, r4, #24
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #24]
	str	r3, [r4, #28]
	b	.L43
.L41:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	add	r1, r4, #16
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #16]
	str	r3, [r4, #20]
	b	.L43
.L42:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	add	r1, r4, #8
	ldmia	r1, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [r4, #8]
	str	r3, [r4, #12]
	b	.L43
.L37:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	ldmia	r4, {r0-r1}
	mov	r2, #0
	ldr	r3, .L50+4
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	nop
.L43:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-28]
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L36:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L44
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L45
.L46:
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #80
	ldr	r2, [fp, #-44]
	add	r2, r2, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r4-r5}
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #4
	sub	r3, r3, #40
	ldr	r2, [fp, #-44]
	add	r4, r2, r3
	mov	r2, #0
	ldr	r3, .L50+8
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-32]
	lsl	r1, r1, #3
	add	r1, r4, r1
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L45:
	ldr	r3, [fp, #-32]
	cmp	r3, #4
	ble	.L46
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	ldr	r1, [fp, #-36]
	sub	r1, r1, #-536870911
	lsl	r1, r1, #3
	ldr	r0, [fp, #-52]
	add	r4, r0, r1
	sub	r1, fp, #28
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	mov	r3, #0
	str	r3, [fp, #-32]
	b	.L47
.L48:
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r4, r2
	mov	r5, r3
	ldr	r3, [fp, #-32]
	lsl	r3, r3, #5
	ldr	r2, [fp, #-40]
	add	r2, r2, r3
	ldr	r3, [fp, #-36]
	lsl	r3, r3, #3
	add	r3, r2, r3
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #-52]
	add	r3, r2, r3
	ldmia	r3, {r2-r3}
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	mov	r0, r4
	mov	r1, r5
	bl	__aeabi_dmul
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_dadd
	mov	r2, r0
	mov	r3, r1
	str	r2, [fp, #-20]
	str	r3, [fp, #-16]
	ldr	r3, [fp, #-32]
	add	r3, r3, #1
	str	r3, [fp, #-32]
.L47:
	ldr	r2, [fp, #-32]
	ldr	r3, [fp, #-48]
	cmp	r2, r3
	blt	.L48
	ldr	r0, [fp, #-48]
	bl	__aeabi_i2d
	mov	r2, r0
	mov	r3, r1
	sub	r1, fp, #20
	ldmia	r1, {r0-r1}
	bl	__aeabi_ddiv
	mov	r2, r0
	mov	r3, r1
	mov	r0, r2
	mov	r1, r3
	ldr	r3, [fp, #-36]
	sub	r3, r3, #-536870911
	lsl	r3, r3, #3
	ldr	r2, [fp, #4]
	add	r4, r2, r3
	bl	sqrt
	mov	r2, r0
	mov	r3, r1
	stm	r4, {r2-r3}
	ldr	r3, [fp, #-36]
	add	r3, r3, #1
	str	r3, [fp, #-36]
.L35:
	ldr	r3, [fp, #-36]
	cmp	r3, #3
	ble	.L49
	nop
	nop
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L51:
	.align	2
.L50:
	.word	1076101120
	.word	1072693248
	.word	1079574528
	.size	tongji, .-tongji
	.section	.rodata
	.align	2
.LC13:
	.ascii	"\350\257\267\350\276\223\345\205\245\345\271\263\346"
	.ascii	"\227\266\346\210\220\347\273\251\346\211\200\345\215"
	.ascii	"\240\346\257\224\344\276\213\347\231\276\345\210\206"
	.ascii	"\346\257\224\000"
	.align	2
.LC14:
	.ascii	"\350\257\267\350\276\223\345\205\245\346\234\237\346"
	.ascii	"\234\253\346\210\220\347\273\251\346\211\200\345\215"
	.ascii	"\240\346\257\224\344\276\213\347\231\276\345\210\206"
	.ascii	"\346\257\224\000"
	.global	__aeabi_dcmplt
	.global	__aeabi_dcmpgt
	.align	2
.LC15:
	.ascii	"\012\346\234\237\346\234\253\350\200\203\350\257\225"
	.ascii	"\345\215\267\351\235\242\345\217\212\346\240\274\347"
	.ascii	"\216\207\357\274\232%.2lf%%\011\000"
	.align	2
.LC16:
	.ascii	"\346\234\237\346\234\253\350\200\203\350\257\225\345"
	.ascii	"\215\267\351\235\242\346\234\200\351\253\230\345\210"
	.ascii	"\206\357\274\232%.2lf\011\000"
	.align	2
.LC17:
	.ascii	"\346\234\237\346\234\253\350\200\203\350\257\225\345"
	.ascii	"\215\267\351\235\242\346\234\200\344\275\216\345\210"
	.ascii	"\206\357\274\232%.2lf\012\000"
	.align	2
.LC18:
	.ascii	"\346\200\273\350\257\204=\345\271\263\346\227\266X%"
	.ascii	".2lf%%+\350\200\203\350\257\225X%.2lf%%\011\000"
	.align	2
.LC19:
	.ascii	"\345\255\246\347\224\237\346\200\273\344\272\272\346"
	.ascii	"\225\260\357\274\232%d\012\000"
	.align	2
.LC20:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 3536
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, fp, lr}
	add	fp, sp, #12
	sub	sp, sp, #3552
	ldr	r3, .L67
	ldr	r3, [r3]
	str	r3, [fp, #-16]
	mov	r3,#0
	sub	r3, fp, #3200
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #3200
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3440
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #240
	mov	r1, #0
	mov	r0, r3
	bl	memset
	sub	r3, fp, #3488
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	sub	r3, fp, #3472
	sub	r3, r3, #12
	mov	r2, #0
	str	r2, [r3]
	str	r2, [r3, #4]
	str	r2, [r3, #8]
	str	r2, [r3, #12]
	str	r2, [r3, #16]
	str	r2, [r3, #20]
	mov	r2, #0
	mov	r3, #0
	str	r2, [fp, #-3524]
	str	r3, [fp, #-3520]
	mov	r2, #0
	ldr	r3, .L67+4
	str	r2, [fp, #-3516]
	str	r3, [fp, #-3512]
	ldr	r0, .L67+8
	bl	puts
	sub	r3, fp, #3520
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r1, r3
	ldr	r0, .L67+12
	bl	__isoc99_scanf
	ldr	r0, .L67+16
	bl	puts
	sub	r3, fp, #3520
	sub	r3, r3, #12
	mov	r1, r3
	ldr	r0, .L67+12
	bl	__isoc99_scanf
	sub	r3, fp, #3200
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	input
	str	r0, [fp, #-3544]
	ldr	r4, [fp, #-3540]
	ldr	r5, [fp, #-3536]
	ldr	r2, [fp, #-3532]
	ldr	r3, [fp, #-3528]
	sub	r1, fp, #3200
	sub	r1, r1, #12
	sub	r1, r1, #8
	ldr	r0, [fp, #-3544]
	str	r0, [sp, #8]
	stm	sp, {r2-r3}
	mov	r2, r4
	mov	r3, r5
	mov	r0, r1
	bl	zongpingchengji
	sub	r3, fp, #3488
	sub	r3, r3, #12
	sub	r3, r3, #8
	sub	r1, fp, #3440
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r0, fp, #3200
	sub	r0, r0, #12
	sub	r0, r0, #8
	sub	r2, fp, #3472
	sub	r2, r2, #12
	str	r2, [sp]
	ldr	r2, [fp, #-3544]
	bl	tongji
	sub	r2, fp, #3472
	sub	r2, r2, #12
	sub	r1, fp, #3488
	sub	r1, r1, #12
	sub	r1, r1, #8
	sub	r3, fp, #3440
	sub	r3, r3, #12
	sub	r3, r3, #8
	mov	r0, r3
	bl	output
	mov	r3, #0
	str	r3, [fp, #-3548]
	b	.L53
.L60:
	ldr	r3, [fp, #-3548]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3184
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-3524]
	ldr	r1, [fp, #-3520]
	bl	__aeabi_dcmplt
	mov	r3, r0
	cmp	r3, #0
	beq	.L65
	ldr	r3, [fp, #-3548]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3184
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	b	.L56
.L65:
	ldr	r2, [fp, #-3524]
	ldr	r3, [fp, #-3520]
.L56:
	str	r2, [fp, #-3524]
	str	r3, [fp, #-3520]
	ldr	r3, [fp, #-3548]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3184
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	ldr	r0, [fp, #-3516]
	ldr	r1, [fp, #-3512]
	bl	__aeabi_dcmpgt
	mov	r3, r0
	cmp	r3, #0
	beq	.L66
	ldr	r3, [fp, #-3548]
	lsl	r3, r3, #5
	sub	r2, fp, #12
	add	r3, r2, r3
	sub	r3, r3, #3184
	sub	r3, r3, #8
	ldmia	r3, {r2-r3}
	b	.L59
.L66:
	ldr	r2, [fp, #-3516]
	ldr	r3, [fp, #-3512]
.L59:
	str	r2, [fp, #-3516]
	str	r3, [fp, #-3512]
	ldr	r3, [fp, #-3548]
	add	r3, r3, #1
	str	r3, [fp, #-3548]
.L53:
	ldr	r2, [fp, #-3548]
	ldr	r3, [fp, #-3544]
	cmp	r2, r3
	blt	.L60
	ldr	r2, [fp, #-3340]
	ldr	r3, [fp, #-3336]
	mov	r0, #0
	ldr	r1, .L67+4
	bl	__aeabi_dsub
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+20
	bl	printf
	ldr	r2, [fp, #-3524]
	ldr	r3, [fp, #-3520]
	ldr	r0, .L67+24
	bl	printf
	ldr	r2, [fp, #-3516]
	ldr	r3, [fp, #-3512]
	ldr	r0, .L67+28
	bl	printf
	ldr	r0, [fp, #-3540]
	ldr	r1, [fp, #-3536]
	ldr	r2, [fp, #-3532]
	ldr	r3, [fp, #-3528]
	stm	sp, {r2-r3}
	mov	r2, r0
	mov	r3, r1
	ldr	r0, .L67+32
	bl	printf
	ldr	r1, [fp, #-3544]
	ldr	r0, .L67+36
	bl	printf
	mov	r3, #0
	ldr	r2, .L67
	ldr	r1, [r2]
	ldr	r2, [fp, #-16]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L62
	bl	__stack_chk_fail
.L62:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
.L68:
	.align	2
.L67:
	.word	.LC20
	.word	1079574528
	.word	.LC13
	.word	.LC4
	.word	.LC14
	.word	.LC15
	.word	.LC16
	.word	.LC17
	.word	.LC18
	.word	.LC19
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
