	.file	"531543.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%lld\n"
.LC1:
	.string	"YES"
.LC2:
	.string	"NO"
.LC3:
	.string	"%lld"
	.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, 160
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	jmp	.L2
.L21:
	mov	rax, QWORD PTR -152[rbp]
	cmp	rax, -1
	je	.L24
	mov	DWORD PTR -160[rbp], 0
	jmp	.L5
.L6:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	QWORD PTR -144[rbp+rax*8], 1
	add	DWORD PTR -160[rbp], 1
.L5:
	cmp	DWORD PTR -160[rbp], 15
	jle	.L6
	mov	DWORD PTR -160[rbp], 1
	jmp	.L7
.L10:
	mov	DWORD PTR -156[rbp], 1
	jmp	.L8
.L9:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rdx, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	imul	rdx, rax
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	QWORD PTR -144[rbp+rax*8], rdx
	add	DWORD PTR -156[rbp], 1
.L8:
	mov	eax, DWORD PTR -156[rbp]
	cmp	eax, DWORD PTR -160[rbp]
	jle	.L9
	add	DWORD PTR -160[rbp], 1
.L7:
	cmp	DWORD PTR -160[rbp], 15
	jle	.L10
	mov	DWORD PTR -160[rbp], 0
	jmp	.L11
.L12:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	printf@PLT
	add	DWORD PTR -160[rbp], 1
.L11:
	cmp	DWORD PTR -160[rbp], 15
	jle	.L12
	mov	DWORD PTR -160[rbp], 0
	jmp	.L13
.L20:
	mov	eax, DWORD PTR -160[rbp]
	add	eax, 1
	mov	DWORD PTR -156[rbp], eax
	jmp	.L14
.L17:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rdx, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	add	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	cmp	rdx, rax
	jne	.L15
	lea	rdi, .LC1[rip]
	call	puts@PLT
	jmp	.L16
.L15:
	add	DWORD PTR -156[rbp], 1
.L14:
	cmp	DWORD PTR -156[rbp], 15
	jle	.L17
.L16:
	mov	eax, DWORD PTR -160[rbp]
	cdqe
	mov	rdx, QWORD PTR -144[rbp+rax*8]
	mov	eax, DWORD PTR -156[rbp]
	cdqe
	mov	rax, QWORD PTR -144[rbp+rax*8]
	add	rdx, rax
	mov	rax, QWORD PTR -152[rbp]
	cmp	rdx, rax
	je	.L25
	add	DWORD PTR -160[rbp], 1
.L13:
	cmp	DWORD PTR -160[rbp], 15
	jle	.L20
	jmp	.L19
.L25:
	nop
.L19:
	cmp	DWORD PTR -160[rbp], 16
	jne	.L2
	cmp	DWORD PTR -156[rbp], 16
	jne	.L2
	lea	rdi, .LC2[rip]
	call	puts@PLT
.L2:
	lea	rax, -152[rbp]
	mov	rsi, rax
	lea	rdi, .LC3[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	cmp	eax, -1
	jne	.L21
	jmp	.L4
.L24:
	nop
.L4:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L23
	call	__stack_chk_fail@PLT
.L23:
	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	"531543.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%lld\012\000"
	.align	2
.LC1:
	.ascii	"YES\000"
	.align	2
.LC2:
	.ascii	"NO\000"
	.align	2
.LC3:
	.ascii	"%lld\000"
	.align	2
.LC4:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 152
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, r8, r9, fp, lr}
	add	fp, sp, #28
	sub	sp, sp, #152
	ldr	r3, .L26
	ldr	r3, [r3]
	str	r3, [fp, #-32]
	mov	r3,#0
	b	.L2
.L21:
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	mvn	r0, #0
	mvn	r1, #0
	cmp	r3, r1
	cmpeq	r2, r0
	beq	.L24
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L5
.L6:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r1, r3, #136
	mov	r2, #1
	mov	r3, #0
	stm	r1, {r2-r3}
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L5:
	ldr	r3, [fp, #-180]
	cmp	r3, #15
	ble	.L6
	mov	r3, #1
	str	r3, [fp, #-180]
	b	.L7
.L10:
	mov	r3, #1
	str	r3, [fp, #-176]
	b	.L8
.L9:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-176]
	mov	r2, r3
	asr	r3, r2, #31
	mul	lr, r2, r1
	mul	ip, r0, r3
	add	ip, lr, ip
	umull	r4, r5, r0, r2
	add	r3, ip, r5
	mov	r5, r3
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	stm	r3, {r4-r5}
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L8:
	ldr	r2, [fp, #-176]
	ldr	r3, [fp, #-180]
	cmp	r2, r3
	ble	.L9
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L7:
	ldr	r3, [fp, #-180]
	cmp	r3, #15
	ble	.L10
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L11
.L12:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r2-r3}
	ldr	r0, .L26+4
	bl	printf
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L11:
	ldr	r3, [fp, #-180]
	cmp	r3, #15
	ble	.L12
	mov	r3, #0
	str	r3, [fp, #-180]
	b	.L13
.L20:
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-176]
	b	.L14
.L17:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r2-r3}
	adds	r6, r0, r2
	adc	r7, r1, r3
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	cmp	r7, r3
	cmpeq	r6, r2
	bne	.L15
	ldr	r0, .L26+8
	bl	puts
	b	.L16
.L15:
	ldr	r3, [fp, #-176]
	add	r3, r3, #1
	str	r3, [fp, #-176]
.L14:
	ldr	r3, [fp, #-176]
	cmp	r3, #15
	ble	.L17
.L16:
	ldr	r3, [fp, #-180]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r0-r1}
	ldr	r3, [fp, #-176]
	lsl	r3, r3, #3
	sub	r2, fp, #28
	add	r3, r2, r3
	sub	r3, r3, #136
	ldmia	r3, {r2-r3}
	adds	r8, r0, r2
	adc	r9, r1, r3
	sub	r3, fp, #172
	ldmia	r3, {r2-r3}
	cmp	r9, r3
	cmpeq	r8, r2
	beq	.L25
	ldr	r3, [fp, #-180]
	add	r3, r3, #1
	str	r3, [fp, #-180]
.L13:
	ldr	r3, [fp, #-180]
	cmp	r3, #15
	ble	.L20
	b	.L19
.L25:
	nop
.L19:
	ldr	r3, [fp, #-180]
	cmp	r3, #16
	bne	.L2
	ldr	r3, [fp, #-176]
	cmp	r3, #16
	bne	.L2
	ldr	r0, .L26+12
	bl	puts
.L2:
	sub	r3, fp, #172
	mov	r1, r3
	ldr	r0, .L26+16
	bl	__isoc99_scanf
	mov	r3, r0
	cmn	r3, #1
	bne	.L21
	b	.L4
.L24:
	nop
.L4:
	mov	r3, #0
	ldr	r2, .L26
	ldr	r1, [r2]
	ldr	r2, [fp, #-32]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L23
	bl	__stack_chk_fail
.L23:
	mov	r0, r3
	sub	sp, fp, #28
	@ sp needed
	pop	{r4, r5, r6, r7, r8, r9, fp, pc}
.L27:
	.align	2
.L26:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
