	.file	"418378.c"
	.intel_syntax noprefix
	.text
	.section	.rodata
.LC0:
	.string	"%s"
	.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, 80
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	mov	DWORD PTR -76[rbp], 0
	mov	DWORD PTR -72[rbp], 0
	lea	rax, -20[rbp]
	mov	rsi, rax
	lea	rdi, .LC0[rip]
	mov	eax, 0
	call	__isoc99_scanf@PLT
	lea	rax, -20[rbp]
	mov	rdi, rax
	call	strlen@PLT
	cmp	rax, 10
	je	.L2
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L2:
	mov	DWORD PTR -80[rbp], 0
	jmp	.L4
.L5:
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	movzx	eax, BYTE PTR -20[rbp+rax]
	movsx	eax, al
	lea	edx, -48[rax]
	mov	eax, DWORD PTR -80[rbp]
	cdqe
	mov	DWORD PTR -64[rbp+rax*4], edx
	add	DWORD PTR -80[rbp], 1
.L4:
	cmp	DWORD PTR -80[rbp], 9
	jle	.L5
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -52[rbp]
	add	eax, edx
	mov	DWORD PTR -76[rbp], eax
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	mov	edx, eax
	mov	eax, DWORD PTR -44[rbp]
	add	eax, edx
	mov	DWORD PTR -72[rbp], eax
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 12
	jg	.L6
	cmp	DWORD PTR -76[rbp], -19
	jl	.L6
	cmp	DWORD PTR -76[rbp], 59
	jg	.L6
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 4
	je	.L7
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 6
	je	.L7
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 9
	je	.L7
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 11
	jne	.L8
.L7:
	cmp	DWORD PTR -72[rbp], 30
	jle	.L8
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L8:
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 1
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 3
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 5
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 7
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 8
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 10
	je	.L9
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	sub	ecx, eax
	mov	edx, ecx
	cmp	edx, 12
	jne	.L10
.L9:
	cmp	DWORD PTR -72[rbp], 31
	jle	.L10
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L10:
	mov	ecx, DWORD PTR -76[rbp]
	movsx	rax, ecx
	imul	rax, rax, 1717986919
	shr	rax, 32
	sar	eax, 3
	mov	esi, ecx
	sar	esi, 31
	sub	eax, esi
	mov	edx, eax
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	sal	eax, 2
	mov	edx, ecx
	sub	edx, eax
	cmp	edx, 2
	jne	.L16
	cmp	DWORD PTR -72[rbp], 29
	jle	.L16
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L6:
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L16:
	nop
	mov	edx, DWORD PTR -64[rbp]
	mov	eax, DWORD PTR -60[rbp]
	add	eax, eax
	add	edx, eax
	mov	eax, DWORD PTR -56[rbp]
	sal	eax, 2
	add	eax, edx
	lea	ecx, [rax+rax]
	mov	edx, DWORD PTR -52[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR -48[rbp]
	mov	eax, edx
	sal	eax, 2
	add	eax, edx
	add	eax, eax
	add	ecx, eax
	mov	edx, DWORD PTR -44[rbp]
	mov	eax, edx
	sal	eax, 3
	add	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR -40[rbp]
	mov	eax, edx
	sal	eax, 3
	sub	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR -36[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	ecx, eax
	mov	edx, DWORD PTR -32[rbp]
	mov	eax, edx
	add	eax, eax
	add	eax, edx
	add	eax, eax
	lea	edx, [rcx+rax]
	movsx	rax, edx
	imul	rax, rax, 780903145
	shr	rax, 32
	sar	eax
	mov	ecx, edx
	sar	ecx, 31
	sub	eax, ecx
	mov	DWORD PTR -68[rbp], eax
	mov	ecx, DWORD PTR -68[rbp]
	mov	eax, ecx
	sal	eax, 2
	add	eax, ecx
	add	eax, eax
	add	eax, ecx
	sub	edx, eax
	mov	DWORD PTR -68[rbp], edx
	mov	eax, DWORD PTR -28[rbp]
	cmp	DWORD PTR -68[rbp], eax
	je	.L13
	mov	edi, 48
	call	putchar@PLT
	mov	eax, 0
	jmp	.L14
.L13:
	mov	edi, 49
	call	putchar@PLT
	mov	eax, 0
.L14:
	mov	rdi, QWORD PTR -8[rbp]
	sub	rdi, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	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	"418378.c"
	.text
	.section	.rodata
	.align	2
.LC0:
	.ascii	"%s\000"
	.align	2
.LC1:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 72
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #72
	ldr	r3, .L17
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	mov	r3, #0
	str	r3, [fp, #-72]
	mov	r3, #0
	str	r3, [fp, #-68]
	sub	r3, fp, #20
	mov	r1, r3
	ldr	r0, .L17+4
	bl	__isoc99_scanf
	sub	r3, fp, #20
	mov	r0, r3
	bl	strlen
	mov	r3, r0
	cmp	r3, #10
	beq	.L2
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L2:
	mov	r3, #0
	str	r3, [fp, #-76]
	b	.L4
.L5:
	sub	r2, fp, #20
	ldr	r3, [fp, #-76]
	add	r3, r2, r3
	ldrb	r3, [r3]	@ zero_extendqisi2
	sub	r2, r3, #48
	ldr	r3, [fp, #-76]
	lsl	r3, r3, #2
	sub	r1, fp, #4
	add	r3, r1, r3
	str	r2, [r3, #-56]
	ldr	r3, [fp, #-76]
	add	r3, r3, #1
	str	r3, [fp, #-76]
.L4:
	ldr	r3, [fp, #-76]
	cmp	r3, #9
	ble	.L5
	ldr	r2, [fp, #-52]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-48]
	add	r3, r2, r3
	str	r3, [fp, #-72]
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	mov	r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r2, r3
	str	r3, [fp, #-68]
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #12
	bgt	.L6
	ldr	r3, [fp, #-72]
	cmn	r3, #19
	blt	.L6
	ldr	r3, [fp, #-72]
	cmp	r3, #59
	bgt	.L6
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #4
	beq	.L7
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #6
	beq	.L7
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #9
	beq	.L7
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #11
	bne	.L8
.L7:
	ldr	r3, [fp, #-68]
	cmp	r3, #30
	ble	.L8
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L8:
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #1
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #3
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #5
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #7
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #8
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #10
	beq	.L9
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #12
	bne	.L10
.L9:
	ldr	r3, [fp, #-68]
	cmp	r3, #31
	ble	.L10
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L10:
	ldr	r1, [fp, #-72]
	ldr	r3, .L17+8
	smull	r2, r3, r1, r3
	asr	r2, r3, #3
	asr	r3, r1, #31
	sub	r2, r2, r3
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #2
	sub	r2, r1, r3
	cmp	r2, #2
	bne	.L16
	ldr	r3, [fp, #-68]
	cmp	r3, #29
	ble	.L16
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L6:
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L16:
	nop
	ldr	r2, [fp, #-60]
	ldr	r3, [fp, #-56]
	lsl	r3, r3, #1
	add	r2, r2, r3
	ldr	r3, [fp, #-52]
	lsl	r3, r3, #2
	add	r3, r2, r3
	lsl	r1, r3, #1
	ldr	r2, [fp, #-48]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r2, [fp, #-44]
	mov	r3, r2
	lsl	r3, r3, #2
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r1, r1, r3
	ldr	r2, [fp, #-40]
	mov	r3, r2
	lsl	r3, r3, #3
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r2, [fp, #-36]
	mov	r3, r2
	lsl	r3, r3, #3
	sub	r3, r3, r2
	add	r1, r1, r3
	ldr	r2, [fp, #-32]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	add	r1, r1, r3
	ldr	r2, [fp, #-28]
	mov	r3, r2
	lsl	r3, r3, #1
	add	r3, r3, r2
	lsl	r3, r3, #1
	add	r2, r1, r3
	ldr	r3, .L17+12
	smull	r1, r3, r2, r3
	asr	r1, r3, #1
	asr	r3, r2, #31
	sub	r1, r1, r3
	mov	r3, r1
	lsl	r3, r3, #2
	add	r3, r3, r1
	lsl	r3, r3, #1
	add	r3, r3, r1
	sub	r3, r2, r3
	str	r3, [fp, #-64]
	ldr	r3, [fp, #-24]
	ldr	r2, [fp, #-64]
	cmp	r2, r3
	beq	.L13
	mov	r0, #48
	bl	putchar
	mov	r3, #0
	b	.L14
.L13:
	mov	r0, #49
	bl	putchar
	mov	r3, #0
.L14:
	ldr	r2, .L17
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L15
	bl	__stack_chk_fail
.L15:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L18:
	.align	2
.L17:
	.word	.LC1
	.word	.LC0
	.word	1717986919
	.word	780903145
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
