# Air Conditioner
X = int(input())
print(['No', 'Yes'][X >= 30]) X = int(input()) X int(input()) int input() input print(['No', 'Yes'][X >= 30]) print ['No', 'Yes'][X >= 30] ['No', 'Yes'] 'No' 'Yes' X >= 30 X 30 X = int(input()) int(input()) X
# Air Conditioner
X = int(input())
print(['No', 'Yes'][X >= 30])