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