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