AtCoder Beginner Contest 174 - Air Conditioner

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-----
25

-----Sample Output-----
No

Source: atcoder | Difficulty: EASY


Solutions:
n = int(input())
if n >= 30:
	print('Yes')
else:
	print('No')


N = int(input())
print('No' if N < 30 else 'Yes')


X = int(input())
msg = 'Yes' if X >= 30 else 'No'
print(msg)


print('Yes' if int(input().strip()) >= 30 else 'No')


t = int(input())
if t >= 30:
	print('Yes')
else:
	print('No')


x = int(input())
print('Yes' if x >= 30 else 'No')


X = int(input())
ans = 'No'
if X >= 30:
	ans = 'Yes'
print(ans)


ret = 'Yes' if int(input()) >= 30 else 'No'
print(ret)


print(['No', 'Yes'][int(input()) >= 30])


tem = int(input())
print('Yes' if tem > 29 else 'No')


A = int(input())
if 30 <= A:
	print('Yes')
else:
	print('No')


c = int(input())
if c >= 30:
	print('Yes')
else:
	print('No')


i = int(input())
print('Yes' if i >= 30 else 'No')


o = int(input())
if 30 <= o:
	print('Yes')
else:
	print('No')


a = int(input())
if a < 30:
	print('No')
else:
	print('Yes')


print(f"{('Yes' if int(input()) >= 30 else 'No')}")


a = int(input())
ans = a >= 30 and 'Yes' or 'No'
print(ans)


temp = int(input())
print('Yes') if temp >= 30 else print('No')


X = float(input())
if X >= 30:
	print('Yes')
else:
	print('No')


T = int(input())
if T >= 30:
	print('Yes')
else:
	print('No')


ans = 'Yes' if int(input()) >= 30 else 'No'
print(ans)


S = int(input())
if S >= 30:
	print('Yes')
else:
	print('No')


x = int(input())
res = x > 29 and 'Yes' or 'No'
print(res)


A = eval(input())
print('No') if A < 30 else print('Yes')


X = int(input())
if X > 29:
	print('Yes')
else:
	print('No')


a = int(input())
res = a > 29 and 'Yes' or 'No'
print(res)


x = int(input())
ans = 'No'
if x >= 30:
	ans = 'Yes'
print(ans)


s = int(input())
if s < 30:
	print('No')
else:
	print('Yes')


N = int(input())
ans = 'No'
if N >= 30:
	ans = 'Yes'
print(ans)


print('NYoe s'[int(input()) >= 30::2])


x = int(input())
print('Yes') if x > 29 else print('No')


n = int(input())
if n >= -40 and n <= 40:
	if n >= 30:
		print('Yes')
	else:
		print('No')


X = int(input())
print('YNeos'[not X >= 30::2])


n = int(input())
print('YNeos'[n < 30::2])


X = int(input())
if X >= 30:
	print('Yes')
elif X < 30:
	print('No')


degree = int(input())
if degree >= 30:
	print('Yes')
else:
	print('No')


x = int(input())
print('YNeos'[x < 30::2])


import sys
from collections import deque, defaultdict, Counter
from itertools import accumulate, product, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right
from heapq import heappop, heappush
from math import ceil, floor, sqrt, gcd, inf
from copy import deepcopy
import numpy as np
import scipy as sp
INF = inf
MOD = 1000000007
x = int(input())
tmp = 0
res = 'No'
if x >= 30:
	res = 'Yes'
print(res)


print(int(input()) >= 30 and 'Yes' or 'No')


C = int(input())
if C < 30:
	print('No')
else:
	print('Yes')


n = int(input())
if n >= 30:
	print('Yes')
	exit()
print('No')


a = int(input())
print('YNeos'[a < 30::2])


r = int(input())
if r >= 30:
	print('Yes')
else:
	print('No')


N = int(input())
A = 'Yes'
if N < 30:
	A = 'No'
print(A)


n = int(input())
if n > 29:
	print('Yes')
else:
	print('No')


k = int(input())
if k < 30:
	print('No')
else:
	print('Yes')


print('YNeos'[int(open(0).read()) < 30::2])


if int(input()) >= 30:
	print('Yes')
	exit(0)
print('No')


tempareture = int(input())
if tempareture >= 30:
	print('Yes')
else:
	print('No')


print('YNeos'[int(bool(int(input()) < 30))::2])


a = int(input())
b = 'Yes' if a > 29 else 'No'
print(b)


a = int(input())
ans = 'Yes'
if a <= 29:
	ans = 'No'
print(ans)


i = int(input())
if i > 29:
	print('Yes')
else:
	print('No')


m = int(input())
if m > 29:
	print('Yes')
else:
	print('No')


hoge = int(input())
if hoge >= 30:
	print('Yes')
else:
	print('No')


def main():
	x = int(input())
	print('Yes' if x >= 30 else 'No')

def __starting_point():
	main()
__starting_point()


d = int(input())
if d >= 30:
	print('Yes')
else:
	print('No')


print('Yes' if int(input()) >= 30.0 else 'No')


result = 'Yes' if int(input()) >= 30 else 'No'
print(result)