If the quantity of packets is greater than or equal to the number of students of age j , then we can choose these packets for the students
if ( fr1 [ j ] <= fr2 [ k ] ) : NEW_LINE INDENT flag = True NEW_LINE break NEW_LINE DEDENT k += 1 NEW_LINE