Add solution to problem "Time"