CodeChef Solution

Sports Section CodeChef Solution

We Are Discuss About CODECHEF SOLUTION

Sports Section CodeChef Solution

Answers will be Uploaded Shortly and it will be Notified on Telegram, SoĀ JOIN NOW
JoinScishowEngineerTelegram

Problem

The newspaper in Chefland consists ofĀ 10Ā pages numberedĀ 1Ā toĀ 10.
The lastĀ 3Ā pages of the newspaper are always dedicated to theĀ sports section.

Given a random page numberĀ ļæ½, determine whether that page is dedicated to the sports section.

Input Format

  • The first and only line of input consists of a single integerĀ ļæ½, denoting the page number.

Output Format

Output on a new line,Ā YES, if the given page number is dedicated to the sports section, andĀ NOĀ otherwise.

You may print each character of the string in uppercase or lowercase (for example, the stringsĀ YES,Ā yEs,Ā yes, andĀ yeSĀ will all be treated as identical).

Constraints

  • 1ā‰¤ļæ½ā‰¤10

Sample 1:

Input

Output

3
NO

Explanation:

Page numberĀ 3Ā is not dedicated to the sports section.

Sample 2:

Input

Output

8
YES

Explanation:

Since page numberĀ 8Ā is one of the last three pages, it is dedicated to the sports section.

Sample 3:

Input

Output

10
YES

Explanation:

Since page numberĀ 10Ā is one of the last three pages, it is dedicated to the sports section.

Answers will be Uploaded Shortly and it will be Notified on Telegram, SoĀ JOIN NOW
JoinScishowEngineerTelegram


6 digit code appear after 69 seconds.
 

Wait for Solution



Yhaa You have done it but next? if YOU Want to Get Others Please Visit HereĀ ScishowEngineerĀ Ā  ThenĀ Follow US HEREĀ andĀ Join Telegram.

If You Want To Learn Something New Then Visit OurĀ Official Channel YOUTUBE