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<stdio.h>
#include<string.h>
#include<math.h>

int main(void) {
	char c[200000];
	int n, i, j, a = 0, b;

	scanf("%d", &n);

	for (i = 0; i < n; i++) {
		scanf("%c", &c[i]);
	}

	for (i = 0; i < n-1; i++) {
		for (j = n - 1; j > i; j--) {
			if (c[i] == 'W' && c[j] == 'R') {
				c[i] = 'R';
				c[j] = 'W';
				a++;
				break;
			}
		}
	}
	if (a != 0) {
		a += 1;
	}
	printf("%d", a);
}