Choose the number of activities and, for each activity, the duration.