[Solution] Janmansh and Assignments solution codechef

Janmansh and Assignments solution codechef – Janmansh has to submit 33 assignments for Chingari before 1010 pm and he starts to do the assignments at XX pm. Each assignment takes him 11 hour to complete. Can you tell whether he’ll be able to complete all assignments on time or not?

Janmansh and Assignments solution codechef

  • The first line will contain TT – the number of test cases. Then the test cases follow.
  • The first and only line of each test case contains one integer XX – the time when Janmansh starts doing the assignemnts.

Output Format

For each test case, output Yes if he can complete the assignments on time. Otherwise, output No.

You may print each character of Yes and No in uppercase or lowercase (for example, yesyEsYES will be considered identical).

Constraints

  • 1T101≤T≤10
  • 1X91≤X≤9

Janmansh and Assignments solution codechef

 

2
7
9

Sample Output 1 

Yes
No

Janmansh and Assignments solution codechef

Test case-1: He can start at 77pm and finish by 1010 pm. Therefore he can complete the assignments.

Test case-2: He can not complete all the 33 assignments if he starts at 99 pm.

For solution

Click here

Leave a Comment