Today, the instructor has a lot of students planning to attend his office hours. He knows in advance, how much time is needed by each student. (For example, student S1 needs t1 minutes, student S2 needs t2 minutes and so on ... .) All students came at the same time, so all but one will have to wait for their questions to be answered. The instructor wants to minimize the total waiting time