import csv
predict={}
with open('data/cost-of-cultivation.csv') as csvfile:
    reader = csv.reader(csvfile)
    for x in reader:
    	predict[x[0]]=int(x[1])
def bestcrop(budget):
	rem=[]
	cos=[int(i) for x,i in predict.items()]
	for i in cos:
		if(i>budget):
			rem.append(-1)
		else:
			rem.append(i)
	op={x:y for y,x in predict.items()}
	for i in rem:
		if(i!=-1):
			print(op[i])

bestcrop(10000)
a3ac723e89e3cfb60b6fc3589b573bda34ec0142
<mask token>

<mask token>
with open('data/cost-of-cultivation.csv') as csvfile:
    reader = csv.reader(csvfile)
    for x in reader:
        predict[x[0]] = int(x[1])


def bestcrop(budget):
    rem = []
    cos = [int(i) for x, i in predict.items()]
    for i in cos:
        if i > budget:
            rem.append(-1)
        else:
            rem.append(i)
    op = {x: y for y, x in predict.items()}
    for i in rem:
        if i != -1:
            print(op[i])


bestcrop(10000)

<mask token>
predict = {}
with open('data/cost-of-cultivation.csv') as csvfile:
    reader = csv.reader(csvfile)
    for x in reader:
        predict[x[0]] = int(x[1])


def bestcrop(budget):
    rem = []
    cos = [int(i) for x, i in predict.items()]
    for i in cos:
        if i > budget:
            rem.append(-1)
        else:
            rem.append(i)
    op = {x: y for y, x in predict.items()}
    for i in rem:
        if i != -1:
            print(op[i])


bestcrop(10000)

import csv
predict = {}
with open('data/cost-of-cultivation.csv') as csvfile:
    reader = csv.reader(csvfile)
    for x in reader:
        predict[x[0]] = int(x[1])


def bestcrop(budget):
    rem = []
    cos = [int(i) for x, i in predict.items()]
    for i in cos:
        if i > budget:
            rem.append(-1)
        else:
            rem.append(i)
    op = {x: y for y, x in predict.items()}
    for i in rem:
        if i != -1:
            print(op[i])


bestcrop(10000)

import csv
predict={}
with open('data/cost-of-cultivation.csv') as csvfile:
    reader = csv.reader(csvfile)
    for x in reader:
    	predict[x[0]]=int(x[1])
def bestcrop(budget):
	rem=[]
	cos=[int(i) for x,i in predict.items()]
	for i in cos:
		if(i>budget):
			rem.append(-1)
		else:
			rem.append(i)
	op={x:y for y,x in predict.items()}
	for i in rem:
		if(i!=-1):
			print(op[i])

bestcrop(10000)