X=int(input(""))
if 30<=X:
   print("Yes")
else:
   print("No") X=int(input("")) X int(input("")) int input("") input "" if 30<=X:
   print("Yes")
else:
   print("No") 30<=X 30 X print("Yes") print "Yes" print("No") print "No" X=int(input("")) int(input("")) X
X=int(input(""))
if 30<=X:
   print("Yes")
else:
   print("No")
