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;

int main()
{
    int a=0;
    string s;
    cin >> s;
    for(int i=0;i<s.size();i++){
        if(s[i]=='a')
            s[i]='b', a++;
        else if(s[i]=='A')
            s[i]='B', a++;
        else if(s[i]=='b')
            s[i]='a', a++;
        else if(s[i]=='B')
            s[i]='A', a++;
    }
    cout << s << '\n' << a;
}
/*
int main()
{
int c = 0;
string f;
cin » f;
for (int i = 0; i < f.size(); ++i)
{
if (f[i] == 'a')
f[i] = 'b',c++;

else if (f[i] == 'A')
f[i] = 'B',c++;

else if (f[i] == 'b')
f[i] = 'a',c++;

else if (f[i] == 'B')
f[i] = 'A',c++;

}
cout « f « endl;
cout « c;
}*/