def secondpart(inputstring):
	a = handlejson.get_dictionary_of_all_solutions()
	b = [ i for i in a if i['solution'] == inputstring ]

	#print b

	return b[0]['score']
9:[0, 26637, 10998, 4150, 23855],
10:[0],
11:[0, 12877, 20528, 16526, 19558],
12:[0, 24762, 24103, 12700, 5864, 1155, 24803, 29992, 18660, 19102],
13:[0],
14:[0],
15:[0],
16:[0],
17:[0],
18:[0],
19:[0],
20:[0],
21:[0],
22:[0],
23:[0],
24:[18]}



a = handlejson.get_dictionary_of_all_solutions()

for gid in range(25):
	for s in allseeds[gid]:
		handlejson.send_response(gid,[s],'','zero')

		# b = [i for i in a if i['problemId']==gid and i['seed']==s]
		# m = max(b,key=lambda x:x['score'])
		# print gid,s,m['score'],m['solution']
		# handlejson.send_response(gid,[s],str(m['solution']),'')