rawtemp = input()
temp = int(rawtemp)

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

if temp < 30:
    print("No")
else:
    print("Yes")