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