
s = int(input())

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

s = int(input())

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