Beginner Beginners Problems > Ad-hoc
The Dev Skill team follows the Agile methodology in their development. Agile development is a phrase used in software development to describe methodologies for incremental software development. Agile development is an alternative to traditional project management where emphasis is placed on empowering people to collaborate and make team decisions in addition to continuous planning, continuous testing and continuous integration. To do that, a project is divided in small sprints. After releasing a sprint to client, new features are added to the next sprint and the bugs of previous sprint are fixed. We know that there is a project manager for each project, who sets the deadline for each sprint. Everyone on the development team along with the team lead is aware of this deadline. Now we need a developer on our Dev Skill team. To be on the team, you must know when your project will be complete. So now you must write a code that will tell you when your project is going to be complete. Input: ------ First line of each test case will hold two numbers separated by a single space. First number will denote the total hours to finish the sprint **(0 < CT ≤ 100)** and the second one will be number of members in the team **(0 < N ≤ 100)**. Then the N number of lines will hold the total hours a member can work each day **(0 < P ≤ 24)** Output: ------- Print just single line for each test case. If it takes one day to finish the project then print **“Project will finish within 1 day.”** For more than one days print **“Project will finish within D days.”**, where D denotes the number of days to finish the project. Sample Input ------------ 10 2 5 5 10 2 5 4 Sample Output ------------- Project will finish within 1 day. Project will finish within 2 days.