t=input()
t=int(t)
if(t>=30):
  print("Yes")
else:
  print("No") t=input() t input() input t=int(t) t int(t) int t if(t>=30):
  print("Yes")
else:
  print("No") t>=30 t 30 print("Yes") print "Yes" print("No") print "No" t=int(t) int(t) t t=input() input() t
t=input()
t=int(t)
if(t>=30):
  print("Yes")
else:
  print("No")