@Override
	public void solveChallenge() {

		Task task_to_be_done;;
		int allWorkingMinutes = Task.sumRemainingMinutes();

		for (int time = 0; time < allWorkingMinutes; time++) {
			task_to_be_done = Task.getBestTaskToMinimizeDeadline(time);
			try {
				task_to_be_done.work(time);
			} catch (TaskCompleted e) {
				e.printStackTrace();
			}
		}
		Task.printMaximumTaskDelay();	

	}