	.file	"3075.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%d"
.LC1:
	.string	"%d%d%d"
.LC2:
	.string	"yes"
.LC3:
	.string	"no"
	.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, 32
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rax, -28[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	DWORD PTR -12[rbp], 0
	jmp	.L2
.L25:
	lea	rcx, -16[rbp]
	lea	rdx, -20[rbp]
	lea	rax, -24[rbp]
	mov	rsi, rax
	lea	rdi, .LC1[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jle	.L3
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 12
	jg	.L3
	mov	eax, DWORD PTR -20[rbp]
	test	eax, eax
	jle	.L4
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	jg	.L4
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	je	.L5
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L5
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L6
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 31
	jg	.L6
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L5
.L6:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L5:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	je	.L4
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L4
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L7
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 30
	jg	.L7
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L4
.L7:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L4:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	jle	.L8
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 12
	jg	.L8
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	je	.L9
	mov	eax, DWORD PTR -20[rbp]
	and	eax, 1
	test	eax, eax
	jne	.L9
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L10
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 31
	jg	.L10
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L9
.L10:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L9:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	je	.L8
	mov	eax, DWORD PTR -20[rbp]
	cdq
	shr	edx, 31
	add	eax, edx
	and	eax, 1
	sub	eax, edx
	cmp	eax, 1
	jne	.L8
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L11
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 30
	jg	.L11
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L8
.L11:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L8:
	mov	edx, DWORD PTR -16[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 5
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 100
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L12
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L13
	mov	edx, DWORD PTR -16[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	je	.L12
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L12
.L13:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L14
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 28
	jg	.L14
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L12
.L14:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L12:
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 3
	test	eax, eax
	jne	.L15
	mov	edx, DWORD PTR -20[rbp]
	movsx	rax, edx
	imul	rax, rax, 1374389535
	shr	rax, 32
	sar	eax, 7
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	imul	ecx, eax, 400
	mov	eax, edx
	sub	eax, ecx
	test	eax, eax
	jne	.L15
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L15
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L16
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 29
	jg	.L16
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L18
.L16:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L18
.L15:
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 3
	test	eax, eax
	je	.L18
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	jne	.L18
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L19
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 28
	jg	.L19
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L18
.L19:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L18:
	mov	eax, DWORD PTR -16[rbp]
	and	eax, 3
	test	eax, eax
	sete	dl
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 2
	sete	al
	and	eax, edx
	test	al, al
	je	.L20
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L21
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 29
	jg	.L21
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L20
.L21:
	lea	rdi, .LC3[rip]
	call	puts@PLT
.L20:
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 7
	je	.L22
	mov	eax, DWORD PTR -20[rbp]
	cmp	eax, 8
	jne	.L28
.L22:
	mov	eax, DWORD PTR -24[rbp]
	test	eax, eax
	jle	.L28
	mov	eax, DWORD PTR -24[rbp]
	cmp	eax, 31
	jg	.L28
	lea	rdi, .LC2[rip]
	call	puts@PLT
	jmp	.L28
.L3:
	lea	rdi, .LC3[rip]
	call	puts@PLT
	jmp	.L24
.L28:
	nop
.L24:
	add	DWORD PTR -12[rbp], 1
.L2:
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -12[rbp], eax
	jl	.L25
	mov	eax, 0
	mov	rsi, QWORD PTR -8[rbp]
	sub	rsi, QWORD PTR fs:40
	je	.L27
	call	__stack_chk_fail@PLT
.L27:
	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	"3075.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%d\000"
	.align	2
.LC1:
	.ascii	"%d%d%d\000"
	.align	2
.LC2:
	.ascii	"yes\000"
	.align	2
.LC3:
	.ascii	"no\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 = 24
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #24
	ldr	r3, .L29
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	sub	r3, fp, #28
	mov	r1, r3
	ldr	r0, .L29+4
	bl	__isoc99_scanf
	mov	r3, #0
	str	r3, [fp, #-12]
	b	.L2
.L25:
	sub	r3, fp, #16
	sub	r2, fp, #20
	sub	r1, fp, #24
	ldr	r0, .L29+8
	bl	__isoc99_scanf
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L3
	ldr	r3, [fp, #-20]
	cmp	r3, #12
	bgt	.L3
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	ble	.L4
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	bgt	.L4
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L5
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L5
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L6
	ldr	r3, [fp, #-24]
	cmp	r3, #31
	bgt	.L6
	ldr	r0, .L29+12
	bl	puts
	b	.L5
.L6:
	ldr	r0, .L29+16
	bl	puts
.L5:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L4
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L4
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L7
	ldr	r3, [fp, #-24]
	cmp	r3, #30
	bgt	.L7
	ldr	r0, .L29+12
	bl	puts
	b	.L4
.L7:
	ldr	r0, .L29+16
	bl	puts
.L4:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	ble	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #12
	bgt	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L9
	ldr	r3, [fp, #-20]
	and	r3, r3, #1
	cmp	r3, #0
	bne	.L9
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L10
	ldr	r3, [fp, #-24]
	cmp	r3, #31
	bgt	.L10
	ldr	r0, .L29+12
	bl	puts
	b	.L9
.L10:
	ldr	r0, .L29+16
	bl	puts
.L9:
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	beq	.L8
	ldr	r3, [fp, #-20]
	cmp	r3, #0
	and	r3, r3, #1
	rsblt	r3, r3, #0
	cmp	r3, #1
	bne	.L8
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L11
	ldr	r3, [fp, #-24]
	cmp	r3, #30
	bgt	.L11
	ldr	r0, .L29+12
	bl	puts
	b	.L8
.L11:
	ldr	r0, .L29+16
	bl	puts
.L8:
	ldr	r1, [fp, #-16]
	ldr	r3, .L29+20
	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	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L12
	ldr	r3, [fp, #-16]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L13
	ldr	r1, [fp, #-16]
	ldr	r3, .L29+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #7
	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	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	beq	.L12
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L12
.L13:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L14
	ldr	r3, [fp, #-24]
	cmp	r3, #28
	bgt	.L14
	ldr	r0, .L29+12
	bl	puts
	b	.L12
.L14:
	ldr	r0, .L29+16
	bl	puts
.L12:
	ldr	r3, [fp, #-16]
	and	r3, r3, #3
	cmp	r3, #0
	bne	.L15
	ldr	r1, [fp, #-20]
	ldr	r3, .L29+20
	smull	r2, r3, r1, r3
	asr	r2, r3, #7
	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	r3, r3, #4
	sub	r2, r1, r3
	cmp	r2, #0
	bne	.L15
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L15
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L16
	ldr	r3, [fp, #-24]
	cmp	r3, #29
	bgt	.L16
	ldr	r0, .L29+12
	bl	puts
	b	.L18
.L16:
	ldr	r0, .L29+16
	bl	puts
	b	.L18
.L15:
	ldr	r3, [fp, #-16]
	and	r3, r3, #3
	cmp	r3, #0
	beq	.L18
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	bne	.L18
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L19
	ldr	r3, [fp, #-24]
	cmp	r3, #28
	bgt	.L19
	ldr	r0, .L29+12
	bl	puts
	b	.L18
.L19:
	ldr	r0, .L29+16
	bl	puts
.L18:
	ldr	r3, [fp, #-16]
	and	r3, r3, #3
	cmp	r3, #0
	moveq	r3, #1
	movne	r3, #0
	and	r2, r3, #255
	ldr	r3, [fp, #-20]
	cmp	r3, #2
	moveq	r3, #1
	movne	r3, #0
	and	r3, r3, #255
	and	r3, r3, r2
	and	r3, r3, #255
	cmp	r3, #0
	beq	.L20
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L21
	ldr	r3, [fp, #-24]
	cmp	r3, #29
	bgt	.L21
	ldr	r0, .L29+12
	bl	puts
	b	.L20
.L21:
	ldr	r0, .L29+16
	bl	puts
.L20:
	ldr	r3, [fp, #-20]
	cmp	r3, #7
	beq	.L22
	ldr	r3, [fp, #-20]
	cmp	r3, #8
	bne	.L28
.L22:
	ldr	r3, [fp, #-24]
	cmp	r3, #0
	ble	.L28
	ldr	r3, [fp, #-24]
	cmp	r3, #31
	bgt	.L28
	ldr	r0, .L29+12
	bl	puts
	b	.L28
.L3:
	ldr	r0, .L29+16
	bl	puts
	b	.L24
.L28:
	nop
.L24:
	ldr	r3, [fp, #-12]
	add	r3, r3, #1
	str	r3, [fp, #-12]
.L2:
	ldr	r3, [fp, #-28]
	ldr	r2, [fp, #-12]
	cmp	r2, r3
	blt	.L25
	mov	r3, #0
	ldr	r2, .L29
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L27
	bl	__stack_chk_fail
.L27:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L30:
	.align	2
.L29:
	.word	.LC4
	.word	.LC0
	.word	.LC1
	.word	.LC2
	.word	.LC3
	.word	1374389535
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
