def __init__(self, name, prefs, maxMatches):
    Job.__init__(self, name, prefs, maxMatches)
    self.prefs = filter((lambda x: ((x.numPeople != 1) and (x.semsCooked < 4))), self.prefs)
    prefs.sort(key=(lambda x: x.semsCooked), reverse=True)
def __init__(self, name, prefs, maxMatches):
    Job.__init__(self, name, prefs, maxMatches)
    self.prefs = filter((lambda x: ((x.numPeople != 1) and (x.semsCooked < 4))), self.prefs)
    prefs.sort(key=(lambda x: x.semsCooked), reverse=True)