Time Sorting (#350) - Azerbaijan Computing Olympiad