CodechefAug 25, 2025

Air Quality Index

Hazrat Ali

Codechef

n the light of G-20 summit, government has decided to keep the average air quality index (AQI) strictly below 100.
On some random day, Chef measures the AQI and found the value to be X.

Find whether the government was able to keep the AQI within limits.

Input Format

  • The input consists of an integer X — the AQI Chef measured.

Output Format

Output YES, if the government was able to keep the AQI within limits and NO otherwise.

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

Constraints

  • 1≤X≤150

Sample 1:

Input
50
Output
 
YES

Solution

X = int(input())  

if X < 100:
    print("YES")
else:
    print("NO")





Comments