# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Author:* notsoloud

*jay_1048576*

**Tester:***iceknight1093*

**Editorialist:**# DIFFICULTY:

255

# PREREQUISITES:

None

# PROBLEM:

The top 10 contestants qualify to the finals of MasterChef, and Chef’s rank is X.

Will he qualify?

# EXPLANATION:

As mentioned in the statement, the answer is `Yes`

if X \leq 10 and `No`

otherwise.

This can be checked using an `if`

condition.

# TIME COMPLEXITY

\mathcal{O}(1) per test case.

# CODE:

## Editorialist's code (Python)

```
for _ in range(int(input())):
x = int(input())
print('Yes' if x <= 10 else 'No')
```