# Lithp MISC [60]
Here's challenge:
![](https://raw.githubusercontent.com/ozancetin/CTF-Writeups/master/2019/angstormCTF2019/Lithp/Lithp.png)
Given Lithp code: [lithp.lisp](https://raw.githubusercontent.com/ozancetin/CTF-Writeups/master/2019/angstormCTF2019/Lithp/lithp.lisp)
I recognized relation given integer values as a:
8930 = 94 * 95 |15006 = 122 * 123... and so on
it seems like a a decimal values to ascii
write a python script for finding Consecutive numbers and reorder as a given array then convert ascii
Here's script:
```pythonlist = [8930,15006,8930,10302,11772,13806,13340,11556,12432,13340,10712,10100,11556,12432,9312,10712,10100,10100,8930,10920,8930,5256,9312,9702,8930,10712,15500,9312]order = [19,4,14,3,10,17,24,22,8,2,5,11,7,26,0,25,18,6,21,23,9,13,16,1,12,15,27,20]New_dict = dict(zip(order,list))Reorder = New_dict.values()
#finding consecutive numbers and append big oneflag=[]for i in Reorder:	n = int(i ** 0.5)	decimal_char = n+1 	flag.append(decimal_char)
#Decimal to ascii partflag_list=[]for x in flag:	flag_list.append(chr(x))FinalFlag = ''.join(flag_list)
print FinalFlag```