Temp = int(input())

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

if Temp >= 30:
  print("Yes")
else:
  print("No")