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