Problem:
Score : 100 points

Problem Statement

You will turn on the air conditioner if, and only if, the temperature of the room is 30 degrees Celsius or above.

The current temperature of the room is X degrees Celsius. Will you turn on the air conditioner?

Constraints

-40 \leq X \leq 40

X is an integer.

Input

Input is given from Standard Input in the following format:

X

Output

Print Yes if you will turn on the air conditioner; print No otherwise.

Sample Input 1

25

Sample Output 1

No

Sample Input 2

30

Sample Output 2

Yes

Solution in C++ (GCC 9.2.1) (judge verdict: Wrong Answer)

#include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define int long long
#define pb push_back
#define ff first
#define ss second

bool isvalid(int x,int y,int n,int m)
{
    return (x>=0 && x<n && y>=0 && y<m);
}

int cx[]={0,0,1,1,1,-1,-1,-1};
int cy[]={1,-1,1,0,-1,1,0,-1};

int32_t main()
{
    IOS;
	int t;
	cin>>t;
	while(t--)
	{
	    int n;
	    cin>>n;
	    if(n>=30)
	    cout<<"YES"<<endl;
	    else
	    cout<<"NO"<<endl;
	
	
	
	}
	return 0;
}