# PROBLEM LINK:

Practice

Contest: Division 1

Contest: Division 2

Contest: Division 3

Contest: Division 4

* Author:* notsoloud

*iceknight1093, rivalq*

**Testers:***iceknight1093*

**Editorialist:**# DIFFICULTY:

TBD

# PREREQUISITES:

None

# PROBLEM:

An iPhone with at least 80\% battery health is in optimal condition.

Your iPhone’s battery health is X\%. Is it in optimal condition?

# EXPLANATION:

The answer is “Yes” if X \geq 80 and “No” otherwise.

This can be checked using `if`

conditions.

# 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 >= 80 else 'No')
```