	.file	"178759.c"
	.intel_syntax noprefix
	.text
	.type	in_memo.1, @function
in_memo.1:
.LFB7:
	.cfi_startproc
	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	rax, r10
	mov	QWORD PTR -16[rbp], r10
	mov	rdx, QWORD PTR 40[rax]
	mov	rcx, rdx
	shr	rcx, 2
	mov	rax, QWORD PTR 32[rax]
	mov	edx, DWORD PTR -8[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -4[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE7:
	.size	in_memo.1, .-in_memo.1
	.globl	maximumScore
	.type	maximumScore, @function
maximumScore:
.LFB6:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r15
	push	r14
	push	r13
	push	r12
	push	rbx
	sub	rsp, 264
	.cfi_offset 15, -24
	.cfi_offset 14, -32
	.cfi_offset 13, -40
	.cfi_offset 12, -48
	.cfi_offset 3, -56
	mov	QWORD PTR -184[rbp], rdi
	mov	DWORD PTR -188[rbp], esi
	mov	QWORD PTR -200[rbp], rdx
	mov	DWORD PTR -192[rbp], ecx
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -56[rbp], rax
	xor	eax, eax
	lea	rax, 16[rbp]
	mov	QWORD PTR -72[rbp], rax
	mov	rax, QWORD PTR -184[rbp]
	mov	QWORD PTR -128[rbp], rax
	mov	eax, DWORD PTR -188[rbp]
	mov	DWORD PTR -76[rbp], eax
	mov	rax, QWORD PTR -200[rbp]
	mov	QWORD PTR -120[rbp], rax
	mov	eax, DWORD PTR -192[rbp]
	mov	DWORD PTR -80[rbp], eax
	mov	rax, rsp
	mov	rbx, rax
	mov	esi, DWORD PTR -76[rbp]
	mov	edi, DWORD PTR -76[rbp]
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -160[rbp], rax
	movsx	rax, esi
	mov	QWORD PTR -288[rbp], rax
	mov	QWORD PTR -280[rbp], 0
	movsx	rax, esi
	sal	rax, 2
	mov	QWORD PTR -104[rbp], rax
	movsx	rax, edi
	sub	rax, 1
	mov	QWORD PTR -152[rbp], rax
	movsx	rax, esi
	mov	r10, rax
	mov	r11d, 0
	movsx	rax, edi
	mov	r8, rax
	mov	r9d, 0
	mov	rdx, r11
	imul	rdx, r8
	mov	rax, r9
	imul	rax, r10
	lea	rcx, [rdx+rax]
	mov	rax, r10
	mul	r8
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rax, esi
	mov	QWORD PTR -240[rbp], rax
	mov	QWORD PTR -232[rbp], 0
	movsx	rax, edi
	mov	QWORD PTR -224[rbp], rax
	mov	QWORD PTR -216[rbp], 0
	mov	r9, QWORD PTR -240[rbp]
	mov	r10, QWORD PTR -232[rbp]
	mov	rdx, r10
	imul	rdx, QWORD PTR -224[rbp]
	mov	rax, QWORD PTR -216[rbp]
	imul	rax, r9
	lea	rcx, [rdx+rax]
	mov	rax, r9
	mul	QWORD PTR -224[rbp]
	add	rcx, rdx
	mov	rdx, rcx
	movsx	rdx, esi
	movsx	rax, edi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L4:
	cmp	rsp, rdx
	je	.L5
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L4
.L5:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L6
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L6:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -112[rbp], rax
	mov	ecx, DWORD PTR -76[rbp]
	mov	esi, DWORD PTR -76[rbp]
	movsx	rax, ecx
	sub	rax, 1
	mov	QWORD PTR -144[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -304[rbp], rax
	mov	QWORD PTR -296[rbp], 0
	movsx	rax, ecx
	sal	rax, 2
	mov	QWORD PTR -88[rbp], rax
	movsx	rax, esi
	sub	rax, 1
	mov	QWORD PTR -136[rbp], rax
	movsx	rax, ecx
	mov	QWORD PTR -256[rbp], rax
	mov	QWORD PTR -248[rbp], 0
	movsx	rax, esi
	mov	QWORD PTR -272[rbp], rax
	mov	QWORD PTR -264[rbp], 0
	mov	r8, QWORD PTR -256[rbp]
	mov	r9, QWORD PTR -248[rbp]
	mov	rdx, r9
	mov	r10, QWORD PTR -272[rbp]
	mov	r11, QWORD PTR -264[rbp]
	imul	rdx, r10
	mov	rax, r11
	imul	rax, r8
	lea	rdi, [rdx+rax]
	mov	rax, r8
	mul	r10
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rax, ecx
	mov	r14, rax
	mov	r15d, 0
	movsx	rax, esi
	mov	r12, rax
	mov	r13d, 0
	mov	rdx, r15
	imul	rdx, r12
	mov	rax, r13
	imul	rax, r14
	lea	rdi, [rdx+rax]
	mov	rax, r14
	mul	r12
	add	rdi, rdx
	mov	rdx, rdi
	movsx	rdx, ecx
	movsx	rax, esi
	imul	rax, rdx
	lea	rdx, 0[0+rax*4]
	mov	eax, 16
	sub	rax, 1
	add	rax, rdx
	mov	edi, 16
	mov	edx, 0
	div	rdi
	imul	rax, rax, 16
	mov	rcx, rax
	and	rcx, -4096
	mov	rdx, rsp
	sub	rdx, rcx
.L7:
	cmp	rsp, rdx
	je	.L8
	sub	rsp, 4096
	or	QWORD PTR 4088[rsp], 0
	jmp	.L7
.L8:
	mov	rdx, rax
	and	edx, 4095
	sub	rsp, rdx
	mov	rdx, rax
	and	edx, 4095
	test	rdx, rdx
	je	.L9
	and	eax, 4095
	sub	rax, 8
	add	rax, rsp
	or	QWORD PTR [rax], 0
.L9:
	mov	rax, rsp
	add	rax, 3
	shr	rax, 2
	sal	rax, 2
	mov	QWORD PTR -96[rbp], rax
	mov	DWORD PTR -168[rbp], 0
	jmp	.L10
.L13:
	mov	DWORD PTR -172[rbp], 0
	jmp	.L11
.L12:
	mov	rax, QWORD PTR -88[rbp]
	shr	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -96[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	DWORD PTR [rax+rdx*4], 0
	mov	rax, QWORD PTR -104[rbp]
	shr	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR -112[rbp]
	mov	edx, DWORD PTR -172[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -168[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	DWORD PTR [rax+rdx*4], 0
	add	DWORD PTR -172[rbp], 1
.L11:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -172[rbp], eax
	jl	.L12
	add	DWORD PTR -168[rbp], 1
.L10:
	mov	eax, DWORD PTR -76[rbp]
	cmp	DWORD PTR -168[rbp], eax
	jl	.L13
	movss	xmm0, DWORD PTR .LC2[rip]
	movss	DWORD PTR -164[rbp], xmm0
	mov	eax, DWORD PTR -76[rbp]
	sub	eax, 1
	lea	rdx, -128[rbp]
	mov	r10, rdx
	mov	esi, eax
	mov	edi, 0
	call	recursive_dp.0
	mov	rsp, rbx
	mov	rbx, QWORD PTR -56[rbp]
	sub	rbx, QWORD PTR fs:40
	je	.L15
	call	__stack_chk_fail@PLT
.L15:
	lea	rsp, -40[rbp]
	pop	rbx
	pop	r12
	pop	r13
	pop	r14
	pop	r15
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE6:
	.size	maximumScore, .-maximumScore
	.type	recursive_dp.0, @function
recursive_dp.0:
.LFB8:
	.cfi_startproc
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	push	r12
	push	rbx
	sub	rsp, 48
	.cfi_offset 12, -24
	.cfi_offset 3, -32
	mov	DWORD PTR -52[rbp], edi
	mov	DWORD PTR -56[rbp], esi
	mov	rbx, r10
	mov	QWORD PTR -64[rbp], r10
	mov	edx, DWORD PTR -56[rbp]
	mov	eax, DWORD PTR -52[rbp]
	mov	r10, rbx
	mov	esi, edx
	mov	edi, eax
	call	in_memo.1
	test	eax, eax
	je	.L17
	mov	rax, QWORD PTR 24[rbx]
	shr	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	eax, DWORD PTR [rax+rdx*4]
	jmp	.L18
.L17:
	mov	eax, DWORD PTR -56[rbp]
	sub	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR 52[rbx]
	sub	eax, edx
	mov	DWORD PTR -32[rbp], eax
	mov	eax, DWORD PTR -32[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR 8[rbx]
	add	rax, rdx
	mov	QWORD PTR -24[rbp], rax
	mov	eax, DWORD PTR 48[rbx]
	sub	eax, DWORD PTR -32[rbp]
	cmp	eax, 1
	jne	.L19
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR [rbx]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR [rbx]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	eax, edx
	mov	DWORD PTR -36[rbp], eax
	jmp	.L20
.L19:
	mov	eax, DWORD PTR -52[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR [rbx]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	r12d, edx
	mov	eax, DWORD PTR -52[rbp]
	lea	edx, 1[rax]
	mov	eax, DWORD PTR -56[rbp]
	mov	r10, rbx
	mov	esi, eax
	mov	edi, edx
	call	recursive_dp.0
	add	eax, r12d
	mov	DWORD PTR -40[rbp], eax
	mov	eax, DWORD PTR -56[rbp]
	cdqe
	lea	rdx, 0[0+rax*4]
	mov	rax, QWORD PTR [rbx]
	add	rax, rdx
	mov	edx, DWORD PTR [rax]
	mov	rax, QWORD PTR -24[rbp]
	mov	eax, DWORD PTR [rax]
	imul	edx, eax
	mov	r12d, edx
	mov	eax, DWORD PTR -56[rbp]
	lea	edx, -1[rax]
	mov	eax, DWORD PTR -52[rbp]
	mov	r10, rbx
	mov	esi, edx
	mov	edi, eax
	call	recursive_dp.0
	add	eax, r12d
	mov	DWORD PTR -36[rbp], eax
.L20:
	mov	eax, DWORD PTR -40[rbp]
	cmp	DWORD PTR -36[rbp], eax
	cmovge	eax, DWORD PTR -36[rbp]
	mov	DWORD PTR -28[rbp], eax
	mov	rax, QWORD PTR 24[rbx]
	shr	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR 16[rbx]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	lea	rcx, [rsi+rdx]
	mov	edx, DWORD PTR -28[rbp]
	mov	DWORD PTR [rax+rcx*4], edx
	mov	rax, QWORD PTR 40[rbx]
	shr	rax, 2
	mov	rcx, rax
	mov	rax, QWORD PTR 32[rbx]
	mov	edx, DWORD PTR -56[rbp]
	movsx	rsi, edx
	mov	edx, DWORD PTR -52[rbp]
	movsx	rdx, edx
	imul	rdx, rcx
	add	rdx, rsi
	mov	DWORD PTR [rax+rdx*4], 1
	mov	eax, DWORD PTR -28[rbp]
.L18:
	add	rsp, 48
	pop	rbx
	pop	r12
	pop	rbp
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE8:
	.size	recursive_dp.0, .-recursive_dp.0
	.section	.rodata
.LC3:
	.string	"Q11"
.LC4:
	.string	"Correct"
	.align 8
.LC5:
	.string	"Incorrect: ans = %d, expected = %d\n"
	.align 32
.LC0:
	.long	920
	.long	108
	.long	-649
	.long	-682
	.long	-778
	.long	-268
	.long	-611
	.long	795
	.long	-877
	.long	-338
	.long	804
	.long	931
	.long	959
	.long	-754
	.long	-909
	.long	-9
	.long	-245
	.long	-553
	.long	-296
	.long	500
	.long	-190
	.long	-227
	.long	-258
	.long	-683
	.long	-1000
	.long	-833
	.long	505
	.long	481
	.long	419
	.long	-29
	.long	341
	.long	522
	.long	-495
	.long	109
	.long	-106
	.long	543
	.long	616
	.long	491
	.long	-143
	.long	766
	.long	769
	.long	1000
	.long	-378
	.long	341
	.long	498
	.long	-456
	.long	14
	.long	428
	.long	470
	.long	-917
	.long	133
	.long	454
	.long	-411
	.long	-64
	.long	551
	.long	929
	.long	-186
	.long	396
	.long	-822
	.long	-781
	.long	348
	.long	445
	.long	-786
	.long	-330
	.long	334
	.long	856
	.long	-204
	.long	-294
	.long	483
	.long	-802
	.long	-138
	.long	960
	.long	991
	.long	949
	.long	-294
	.long	355
	.long	-856
	.long	-437
	.long	-413
	.long	307
	.long	-950
	.long	-263
	.long	-506
	.long	-668
	.long	60
	.long	957
	.long	-654
	.long	-726
	.long	711
	.long	-799
	.long	-222
	.long	761
	.long	865
	.long	706
	.long	626
	.long	-384
	.long	922
	.long	590
	.long	891
	.long	-784
	.long	853
	.long	-82
	.long	79
	.long	-149
	.long	420
	.long	-546
	.long	887
	.long	-57
	.long	-415
	.long	728
	.long	586
	.long	-260
	.long	176
	.long	-56
	.long	-907
	.long	839
	.long	-664
	.long	821
	.long	213
	.long	-59
	.long	394
	.long	-204
	.long	-327
	.long	-163
	.long	-874
	.long	-557
	.long	-15
	.long	646
	.long	937
	.long	-538
	.long	171
	.long	-115
	.long	491
	.long	878
	.long	963
	.long	332
	.long	-573
	.long	962
	.long	287
	.long	980
	.long	792
	.long	325
	.long	537
	.long	657
	.long	146
	.long	-899
	.long	-497
	.long	595
	.long	-644
	.long	703
	.long	-212
	.long	23
	.long	-941
	.long	-944
	.long	402
	.long	267
	.long	894
	.long	-393
	.long	1000
	.long	766
	.long	44
	.long	864
	.long	-231
	.long	373
	.long	484
	.long	404
	.long	441
	.long	-554
	.long	650
	.long	-847
	.long	181
	.long	-141
	.long	506
	.long	970
	.long	619
	.long	427
	.long	-239
	.long	413
	.long	-294
	.long	-408
	.long	-249
	.long	-101
	.long	-255
	.long	357
	.long	-608
	.long	-946
	.long	-431
	.long	639
	.long	464
	.long	-797
	.long	836
	.long	-272
	.long	850
	.long	-253
	.long	-383
	.long	902
	.long	579
	.long	836
	.long	-786
	.long	-802
	.long	493
	.long	85
	.long	-982
	.long	-757
	.long	348
	.long	742
	.long	-418
	.long	149
	.long	-748
	.long	126
	.long	-150
	.long	831
	.long	-217
	.long	-752
	.long	-961
	.long	-664
	.long	-864
	.long	408
	.long	-713
	.long	403
	.long	805
	.long	-200
	.long	-858
	.long	-716
	.long	-849
	.long	-249
	.long	67
	.long	650
	.long	662
	.long	619
	.long	-108
	.long	608
	.long	-43
	.long	168
	.long	-225
	.long	582
	.long	3
	.long	-624
	.long	899
	.long	394
	.long	692
	.align 32
.LC1:
	.long	-112
	.long	19
	.long	-462
	.long	-463
	.long	-575
	.long	-337
	.long	-167
	.long	11
	.long	-736
	.long	-441
	.long	-811
	.long	94
	.long	-37
	.long	-841
	.long	-515
	.long	184
	.long	-697
	.long	-361
	.long	-143
	.long	892
	.long	697
	.long	-609
	.long	461
	.long	872
	.long	685
	.long	801
	.long	-653
	.long	417
	.long	329
	.long	876
	.long	372
	.long	118
	.long	346
	.long	-207
	.long	-631
	.long	-122
	.long	214
	.long	233
	.long	-628
	.long	931
	.long	846
	.long	-824
	.long	819
	.long	868
	.long	-802
	.long	132
	.long	-728
	.long	-241
	.long	-669
	.long	-757
	.long	693
	.long	485
	.long	-117
	.long	488
	.long	659
	.long	237
	.long	-687
	.long	219
	.long	-871
	.long	727
	.long	697
	.long	630
	.long	-106
	.long	207
	.long	-564
	.long	818
	.long	-561
	.long	-999
	.long	329
	.long	-454
	.long	367
	.long	490
	.long	-144
	.long	-85
	.long	522
	.long	-136
	.long	-161
	.long	115
	.long	130
	.long	801
	.long	-368
	.long	447
	.long	943
	.long	555
	.long	-271
	.long	-643
	.long	216
	.long	-456
	.long	-935
	.long	663
	.long	822
	.long	263
	.long	-387
	.long	167
	.long	-928
	.long	-371
	.long	-805
	.long	972
	.long	-962
	.long	661
	.long	-1000
	.long	-283
	.long	-883
	.long	865
	.long	-311
	.long	-88
	.long	-924
	.long	334
	.long	850
	.long	-806
	.long	-111
	.long	-387
	.long	7
	.long	-822
	.long	708
	.long	-847
	.long	-932
	.long	-142
	.long	403
	.long	921
	.long	443
	.long	16
	.long	982
	.long	-423
	.long	-508
	.long	519
	.long	-14
	.long	967
	.long	-88
	.long	-765
	.long	679
	.long	-697
	.long	-682
	.long	-448
	.long	741
	.long	-416
	.long	96
	.long	0
	.long	-498
	.long	968
	.long	-927
	.long	222
	.long	686
	.long	461
	.long	489
	.long	356
	.long	885
	.long	618
	.long	134
	.long	121
	.long	-298
	.long	-208
	.long	571
	.long	-425
	.long	603
	.long	532
	.long	-463
	.long	908
	.long	480
	.long	852
	.long	-418
	.long	-597
	.text
	.globl	main
	.type	main, @function
main:
.LFB9:
	.cfi_startproc
	endbr64
	push	rbp
	.cfi_def_cfa_offset 16
	.cfi_offset 6, -16
	mov	rbp, rsp
	.cfi_def_cfa_register 6
	sub	rsp, 1664
	mov	DWORD PTR -1652[rbp], edi
	mov	QWORD PTR -1664[rbp], rsi
	mov	rax, QWORD PTR fs:40
	mov	QWORD PTR -8[rbp], rax
	xor	eax, eax
	lea	rdi, .LC3[rip]
	call	puts@PLT
	lea	rax, -976[rbp]
	lea	rdx, .LC0[rip]
	mov	ecx, 120
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	rdx, rsi
	mov	rax, rdi
	mov	ecx, DWORD PTR [rdx]
	mov	DWORD PTR [rax], ecx
	mov	DWORD PTR -1648[rbp], 241
	lea	rax, -1632[rbp]
	lea	rdx, .LC1[rip]
	mov	ecx, 81
	mov	rdi, rax
	mov	rsi, rdx
	rep movsq
	mov	DWORD PTR -1644[rbp], 162
	mov	ecx, DWORD PTR -1644[rbp]
	lea	rdx, -1632[rbp]
	mov	esi, DWORD PTR -1648[rbp]
	lea	rax, -976[rbp]
	mov	rdi, rax
	call	maximumScore
	mov	DWORD PTR -1640[rbp], eax
	mov	DWORD PTR -1636[rbp], 43563107
	mov	eax, DWORD PTR -1640[rbp]
	cmp	eax, DWORD PTR -1636[rbp]
	jne	.L22
	lea	rdi, .LC4[rip]
	call	puts@PLT
	jmp	.L23
.L22:
	mov	edx, DWORD PTR -1636[rbp]
	mov	eax, DWORD PTR -1640[rbp]
	mov	esi, eax
	lea	rdi, .LC5[rip]
	mov	eax, 0
	call	printf@PLT
.L23:
	mov	eax, 0
	mov	rcx, QWORD PTR -8[rbp]
	sub	rcx, QWORD PTR fs:40
	je	.L25
	call	__stack_chk_fail@PLT
.L25:
	leave
	.cfi_def_cfa 7, 8
	ret
	.cfi_endproc
.LFE9:
	.size	main, .-main
	.section	.rodata
	.align 4
.LC2:
	.long	925353388
	.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	"178759.c"
	.text
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	in_memo.5134, %function
in_memo.5134:
	@ Nested: function declared inside another function.
	@ args = 0, pretend = 0, frame = 16
	@ frame_needed = 1, uses_anonymous_args = 0
	@ link register save eliminated.
	str	fp, [sp, #-4]!
	add	fp, sp, #0
	sub	sp, sp, #20
	str	r0, [fp, #-8]
	str	r1, [fp, #-12]
	mov	r3, ip
	str	ip, [fp, #-16]
	ldr	r2, [r3, #28]
	lsr	r2, r2, #2
	ldr	r3, [r3, #24]
	ldr	r1, [fp, #-8]
	mul	r1, r2, r1
	ldr	r2, [fp, #-12]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	mov	r0, r3
	add	sp, fp, #0
	@ sp needed
	ldr	fp, [sp], #4
	bx	lr
	.size	in_memo.5134, .-in_memo.5134
	.section	.rodata
	.align	2
.LC2:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	maximumScore
	.syntax unified
	.arm
	.fpu softvfp
	.type	maximumScore, %function
maximumScore:
	@ args = 0, pretend = 0, frame = 88
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{r4, r5, r6, r7, fp, lr}
	add	fp, sp, #20
	sub	sp, sp, #88
	str	r0, [fp, #-96]
	str	r1, [fp, #-100]
	str	r2, [fp, #-104]
	str	r3, [fp, #-108]
	ldr	r3, .L10
	ldr	r3, [r3]
	str	r3, [fp, #-24]
	mov	r3,#0
	add	r3, fp, #4
	str	r3, [fp, #-28]
	ldr	r3, [fp, #-96]
	str	r3, [fp, #-60]
	ldr	r3, [fp, #-100]
	str	r3, [fp, #-48]
	ldr	r3, [fp, #-104]
	str	r3, [fp, #-52]
	ldr	r3, [fp, #-108]
	str	r3, [fp, #-56]
	mov	r3, sp
	mov	r7, r3
	ldr	ip, [fp, #-48]
	ldr	lr, [fp, #-48]
	sub	r3, ip, #1
	str	r3, [fp, #-80]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	str	r3, [fp, #-40]
	sub	r3, lr, #1
	str	r3, [fp, #-76]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-44]
	ldr	ip, [fp, #-48]
	ldr	lr, [fp, #-48]
	sub	r3, ip, #1
	str	r3, [fp, #-72]
	mov	r3, ip
	mov	r0, r3
	mov	r1, #0
	mov	r2, #0
	mov	r3, #0
	lsl	r3, r1, #5
	orr	r3, r3, r0, lsr #27
	lsl	r2, r0, #5
	mov	r3, ip
	lsl	r3, r3, #2
	str	r3, [fp, #-32]
	sub	r3, lr, #1
	str	r3, [fp, #-68]
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r4, r3
	mov	r5, #0
	mov	r3, lr
	mov	r0, r3
	mov	r1, #0
	mul	r2, r0, r5
	mul	r3, r4, r1
	add	r6, r2, r3
	umull	r2, r3, r4, r0
	add	r1, r6, r3
	mov	r3, r1
	mov	r0, #0
	mov	r1, #0
	lsl	r1, r3, #5
	orr	r1, r1, r2, lsr #27
	lsl	r0, r2, #5
	mov	r3, ip
	mov	r2, lr
	mul	r3, r2, r3
	lsl	r3, r3, #2
	add	r3, r3, #7
	lsr	r3, r3, #3
	lsl	r3, r3, #3
	sub	sp, sp, r3
	mov	r3, sp
	add	r3, r3, #3
	lsr	r3, r3, #2
	lsl	r3, r3, #2
	str	r3, [fp, #-36]
	mov	r3, #0
	str	r3, [fp, #-84]
	b	.L4
.L7:
	mov	r3, #0
	str	r3, [fp, #-88]
	b	.L5
.L6:
	ldr	r3, [fp, #-32]
	lsr	r2, r3, #2
	ldr	r3, [fp, #-36]
	ldr	r1, [fp, #-84]
	mul	r1, r2, r1
	ldr	r2, [fp, #-88]
	add	r2, r1, r2
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-40]
	lsr	r2, r3, #2
	ldr	r3, [fp, #-44]
	ldr	r1, [fp, #-84]
	mul	r1, r2, r1
	ldr	r2, [fp, #-88]
	add	r2, r1, r2
	mov	r1, #0
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-88]
	add	r3, r3, #1
	str	r3, [fp, #-88]
.L5:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-88]
	cmp	r2, r3
	blt	.L6
	ldr	r3, [fp, #-84]
	add	r3, r3, #1
	str	r3, [fp, #-84]
.L4:
	ldr	r3, [fp, #-48]
	ldr	r2, [fp, #-84]
	cmp	r2, r3
	blt	.L7
	ldr	r3, .L10+4
	str	r3, [fp, #-64]	@ float
	ldr	r3, [fp, #-48]
	sub	r3, r3, #1
	sub	r2, fp, #60
	mov	ip, r2
	mov	r1, r3
	mov	r0, #0
	bl	recursive_dp.5138
	mov	r3, r0
	mov	sp, r7
	ldr	r2, .L10
	ldr	r1, [r2]
	ldr	r2, [fp, #-24]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L9
	bl	__stack_chk_fail
.L9:
	mov	r0, r3
	sub	sp, fp, #20
	@ sp needed
	pop	{r4, r5, r6, r7, fp, pc}
.L11:
	.align	2
.L10:
	.word	.LC2
	.word	925353388
	.size	maximumScore, .-maximumScore
	.align	2
	.syntax unified
	.arm
	.fpu softvfp
	.type	recursive_dp.5138, %function
recursive_dp.5138:
	@ Nested: function declared inside another function.
	@ args = 0, 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]
	mov	r4, ip
	str	ip, [fp, #-48]
	mov	ip, r4
	ldr	r1, [fp, #-44]
	ldr	r0, [fp, #-40]
	bl	in_memo.5134
	mov	r3, r0
	cmp	r3, #0
	beq	.L13
	ldr	r3, [r4, #20]
	lsr	r2, r3, #2
	ldr	r3, [r4, #16]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	ldr	r3, [r3, r2, lsl #2]
	b	.L14
.L13:
	ldr	r2, [fp, #-44]
	ldr	r3, [fp, #-40]
	sub	r3, r2, r3
	add	r3, r3, #1
	ldr	r2, [r4, #12]
	sub	r3, r2, r3
	str	r3, [fp, #-24]
	ldr	r3, [fp, #-24]
	lsl	r3, r3, #2
	ldr	r2, [r4, #8]
	add	r3, r2, r3
	str	r3, [fp, #-20]
	ldr	r2, [r4, #4]
	ldr	r3, [fp, #-24]
	sub	r3, r2, r3
	cmp	r3, #1
	bne	.L15
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [r4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [r4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	mul	r3, r2, r3
	str	r3, [fp, #-28]
	b	.L16
.L15:
	ldr	r3, [fp, #-40]
	lsl	r3, r3, #2
	ldr	r2, [r4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	mul	r5, r2, r3
	ldr	r3, [fp, #-40]
	add	r3, r3, #1
	mov	ip, r4
	ldr	r1, [fp, #-44]
	mov	r0, r3
	bl	recursive_dp.5138
	mov	r3, r0
	add	r3, r5, r3
	str	r3, [fp, #-32]
	ldr	r3, [fp, #-44]
	lsl	r3, r3, #2
	ldr	r2, [r4]
	add	r3, r2, r3
	ldr	r3, [r3]
	ldr	r2, [fp, #-20]
	ldr	r2, [r2]
	mul	r5, r2, r3
	ldr	r3, [fp, #-44]
	sub	r3, r3, #1
	mov	ip, r4
	mov	r1, r3
	ldr	r0, [fp, #-40]
	bl	recursive_dp.5138
	mov	r3, r0
	add	r3, r5, r3
	str	r3, [fp, #-28]
.L16:
	ldr	r2, [fp, #-28]
	ldr	r3, [fp, #-32]
	cmp	r2, r3
	movge	r3, r2
	movlt	r3, r3
	str	r3, [fp, #-16]
	ldr	r3, [r4, #20]
	lsr	r2, r3, #2
	ldr	r3, [r4, #16]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	ldr	r1, [fp, #-16]
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [r4, #28]
	lsr	r2, r3, #2
	ldr	r3, [r4, #24]
	ldr	r1, [fp, #-40]
	mul	r1, r2, r1
	ldr	r2, [fp, #-44]
	add	r2, r1, r2
	mov	r1, #1
	str	r1, [r3, r2, lsl #2]
	ldr	r3, [fp, #-16]
.L14:
	mov	r0, r3
	sub	sp, fp, #12
	@ sp needed
	pop	{r4, r5, fp, pc}
	.size	recursive_dp.5138, .-recursive_dp.5138
	.section	.rodata
	.align	2
.LC3:
	.ascii	"Q11\000"
	.align	2
.LC4:
	.ascii	"Correct\000"
	.align	2
.LC5:
	.ascii	"Incorrect: ans = %d, expected = %d\012\000"
	.align	2
.LC0:
	.word	920
	.word	108
	.word	-649
	.word	-682
	.word	-778
	.word	-268
	.word	-611
	.word	795
	.word	-877
	.word	-338
	.word	804
	.word	931
	.word	959
	.word	-754
	.word	-909
	.word	-9
	.word	-245
	.word	-553
	.word	-296
	.word	500
	.word	-190
	.word	-227
	.word	-258
	.word	-683
	.word	-1000
	.word	-833
	.word	505
	.word	481
	.word	419
	.word	-29
	.word	341
	.word	522
	.word	-495
	.word	109
	.word	-106
	.word	543
	.word	616
	.word	491
	.word	-143
	.word	766
	.word	769
	.word	1000
	.word	-378
	.word	341
	.word	498
	.word	-456
	.word	14
	.word	428
	.word	470
	.word	-917
	.word	133
	.word	454
	.word	-411
	.word	-64
	.word	551
	.word	929
	.word	-186
	.word	396
	.word	-822
	.word	-781
	.word	348
	.word	445
	.word	-786
	.word	-330
	.word	334
	.word	856
	.word	-204
	.word	-294
	.word	483
	.word	-802
	.word	-138
	.word	960
	.word	991
	.word	949
	.word	-294
	.word	355
	.word	-856
	.word	-437
	.word	-413
	.word	307
	.word	-950
	.word	-263
	.word	-506
	.word	-668
	.word	60
	.word	957
	.word	-654
	.word	-726
	.word	711
	.word	-799
	.word	-222
	.word	761
	.word	865
	.word	706
	.word	626
	.word	-384
	.word	922
	.word	590
	.word	891
	.word	-784
	.word	853
	.word	-82
	.word	79
	.word	-149
	.word	420
	.word	-546
	.word	887
	.word	-57
	.word	-415
	.word	728
	.word	586
	.word	-260
	.word	176
	.word	-56
	.word	-907
	.word	839
	.word	-664
	.word	821
	.word	213
	.word	-59
	.word	394
	.word	-204
	.word	-327
	.word	-163
	.word	-874
	.word	-557
	.word	-15
	.word	646
	.word	937
	.word	-538
	.word	171
	.word	-115
	.word	491
	.word	878
	.word	963
	.word	332
	.word	-573
	.word	962
	.word	287
	.word	980
	.word	792
	.word	325
	.word	537
	.word	657
	.word	146
	.word	-899
	.word	-497
	.word	595
	.word	-644
	.word	703
	.word	-212
	.word	23
	.word	-941
	.word	-944
	.word	402
	.word	267
	.word	894
	.word	-393
	.word	1000
	.word	766
	.word	44
	.word	864
	.word	-231
	.word	373
	.word	484
	.word	404
	.word	441
	.word	-554
	.word	650
	.word	-847
	.word	181
	.word	-141
	.word	506
	.word	970
	.word	619
	.word	427
	.word	-239
	.word	413
	.word	-294
	.word	-408
	.word	-249
	.word	-101
	.word	-255
	.word	357
	.word	-608
	.word	-946
	.word	-431
	.word	639
	.word	464
	.word	-797
	.word	836
	.word	-272
	.word	850
	.word	-253
	.word	-383
	.word	902
	.word	579
	.word	836
	.word	-786
	.word	-802
	.word	493
	.word	85
	.word	-982
	.word	-757
	.word	348
	.word	742
	.word	-418
	.word	149
	.word	-748
	.word	126
	.word	-150
	.word	831
	.word	-217
	.word	-752
	.word	-961
	.word	-664
	.word	-864
	.word	408
	.word	-713
	.word	403
	.word	805
	.word	-200
	.word	-858
	.word	-716
	.word	-849
	.word	-249
	.word	67
	.word	650
	.word	662
	.word	619
	.word	-108
	.word	608
	.word	-43
	.word	168
	.word	-225
	.word	582
	.word	3
	.word	-624
	.word	899
	.word	394
	.word	692
	.align	2
.LC1:
	.word	-112
	.word	19
	.word	-462
	.word	-463
	.word	-575
	.word	-337
	.word	-167
	.word	11
	.word	-736
	.word	-441
	.word	-811
	.word	94
	.word	-37
	.word	-841
	.word	-515
	.word	184
	.word	-697
	.word	-361
	.word	-143
	.word	892
	.word	697
	.word	-609
	.word	461
	.word	872
	.word	685
	.word	801
	.word	-653
	.word	417
	.word	329
	.word	876
	.word	372
	.word	118
	.word	346
	.word	-207
	.word	-631
	.word	-122
	.word	214
	.word	233
	.word	-628
	.word	931
	.word	846
	.word	-824
	.word	819
	.word	868
	.word	-802
	.word	132
	.word	-728
	.word	-241
	.word	-669
	.word	-757
	.word	693
	.word	485
	.word	-117
	.word	488
	.word	659
	.word	237
	.word	-687
	.word	219
	.word	-871
	.word	727
	.word	697
	.word	630
	.word	-106
	.word	207
	.word	-564
	.word	818
	.word	-561
	.word	-999
	.word	329
	.word	-454
	.word	367
	.word	490
	.word	-144
	.word	-85
	.word	522
	.word	-136
	.word	-161
	.word	115
	.word	130
	.word	801
	.word	-368
	.word	447
	.word	943
	.word	555
	.word	-271
	.word	-643
	.word	216
	.word	-456
	.word	-935
	.word	663
	.word	822
	.word	263
	.word	-387
	.word	167
	.word	-928
	.word	-371
	.word	-805
	.word	972
	.word	-962
	.word	661
	.word	-1000
	.word	-283
	.word	-883
	.word	865
	.word	-311
	.word	-88
	.word	-924
	.word	334
	.word	850
	.word	-806
	.word	-111
	.word	-387
	.word	7
	.word	-822
	.word	708
	.word	-847
	.word	-932
	.word	-142
	.word	403
	.word	921
	.word	443
	.word	16
	.word	982
	.word	-423
	.word	-508
	.word	519
	.word	-14
	.word	967
	.word	-88
	.word	-765
	.word	679
	.word	-697
	.word	-682
	.word	-448
	.word	741
	.word	-416
	.word	96
	.word	0
	.word	-498
	.word	968
	.word	-927
	.word	222
	.word	686
	.word	461
	.word	489
	.word	356
	.word	885
	.word	618
	.word	134
	.word	121
	.word	-298
	.word	-208
	.word	571
	.word	-425
	.word	603
	.word	532
	.word	-463
	.word	908
	.word	480
	.word	852
	.word	-418
	.word	-597
	.align	2
.LC6:
	.word	__stack_chk_guard
	.text
	.align	2
	.global	main
	.syntax unified
	.arm
	.fpu softvfp
	.type	main, %function
main:
	@ args = 0, pretend = 0, frame = 1640
	@ frame_needed = 1, uses_anonymous_args = 0
	push	{fp, lr}
	add	fp, sp, #4
	sub	sp, sp, #1632
	sub	sp, sp, #8
	str	r0, [fp, #-1640]
	str	r1, [fp, #-1644]
	ldr	r3, .L22
	ldr	r3, [r3]
	str	r3, [fp, #-8]
	mov	r3,#0
	ldr	r0, .L22+4
	bl	puts
	ldr	r2, .L22+8
	sub	r3, fp, #972
	mov	r1, r2
	mov	r2, #964
	mov	r0, r3
	bl	memcpy
	mov	r3, #241
	str	r3, [fp, #-1636]
	ldr	r2, .L22+12
	sub	r3, fp, #1616
	sub	r3, r3, #4
	mov	r1, r2
	mov	r2, #648
	mov	r0, r3
	bl	memcpy
	mov	r3, #162
	str	r3, [fp, #-1632]
	sub	r2, fp, #1616
	sub	r2, r2, #4
	sub	r0, fp, #972
	ldr	r3, [fp, #-1632]
	ldr	r1, [fp, #-1636]
	bl	maximumScore
	str	r0, [fp, #-1628]
	ldr	r3, .L22+16
	str	r3, [fp, #-1624]
	ldr	r2, [fp, #-1628]
	ldr	r3, [fp, #-1624]
	cmp	r2, r3
	bne	.L18
	ldr	r0, .L22+20
	bl	puts
	b	.L19
.L18:
	ldr	r2, [fp, #-1624]
	ldr	r1, [fp, #-1628]
	ldr	r0, .L22+24
	bl	printf
.L19:
	mov	r3, #0
	ldr	r2, .L22
	ldr	r1, [r2]
	ldr	r2, [fp, #-8]
	eors	r1, r2, r1
	mov	r2, #0
	beq	.L21
	bl	__stack_chk_fail
.L21:
	mov	r0, r3
	sub	sp, fp, #4
	@ sp needed
	pop	{fp, pc}
.L23:
	.align	2
.L22:
	.word	.LC6
	.word	.LC3
	.word	.LC0
	.word	.LC1
	.word	43563107
	.word	.LC4
	.word	.LC5
	.size	main, .-main
	.ident	"GCC: (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0"
	.section	.note.GNU-stack,"",%progbits
