import math def minimumcost(lis, poss): i = 1 temp = 0 mincost = [] while i