I get correct answers for all but first set, which gives me min of 3 instead of min of 1.