x = float(input())
if x>=30.0:
    print("Yes")
else: print("No") x = float(input()) x float(input()) float input() input if x>=30.0:
    print("Yes")
else: print("No") x>=30.0 x 30.0 print("Yes") print "Yes" x = float(input()) float(input()) x
x = float(input())
if x>=30.0:
    print("Yes")
else: print("No")