Solve a given number of days