X = input()

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

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