# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Author:* notsoloud

*mridulahi*

**Tester:***iceknight1093*

**Editorialist:**# DIFFICULTY:

272

# PREREQUISITES:

None

# PROBLEM:

A newspaper has 10 pages, of which the last three are the sports section.

Given a page X, is it part of the sports section?

# EXPLANATION:

The last three pages are page 8, 9, 10.

So if X is one of these three, the answer is `Yes`

; otherwise the answer is `No`

.

This can be checked in various ways; for example you can check if X\geq 8 or not.

# TIME COMPLEXITY

\mathcal{O}(1) per testcase.

# CODE:

## Editorialist's code (Python)

```
x = int(input())
print('Yes' if x >= 8 else 'No')
```