A = eval(input())
print("No") if A < 30 else print("Yes") A = eval(input()) A eval(input()) eval input() input print("No") if A < 30 else print("Yes") A < 30 A 30 print("No") print "No" print("Yes") print "Yes" A = eval(input()) eval(input()) A
A = eval(input())
print("No") if A < 30 else print("Yes")