It is Christmas time, and you are buying gifts for your friends! While planning, you have shortlisted the following gifts:
You now need to check whether or not your planned gifts fall within your budget.
Constraints
Input Specification
The first line consists of a single integer,
The second line consists of three space-separated integers,
Output Specification
If your buying plan is within the budget, output Time to go shopping!
.
If you cannot afford all the gifts, output You cannot afford them all.
.
Sample Input 1
45
3 5 2
Sample Output 1
Time to go shopping!
Explanation of Sample 1
In this case, you purchased 3 candy canes, 5 coffee mugs and 2 ugly sweaters. Hence, the total cost of the gifts is $37, which is within your budget of $45.
Sample Input 2
33
6 2 5
Sample Output 2
You cannot afford them all.
Explanation of Sample 2
In this case, you purchased 6 candy canes, 2 coffee mugs and 5 ugly sweaters. Hence, the total cost of the gifts is $49, which is above your budget of $33.
Comments