November 30, 2023
Latest:
CodeChef Solution

# Sports Section CodeChef Solution

## 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).

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

Input

Output

3
NO

### Explanation:

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

Input

Output

8
YES

### Explanation:

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

Input

Output

10
YES

### Explanation:

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