X = int(input())
print("YNeos"[not(X>=30)::2]) X = int(input()) X int(input()) int input() input print("YNeos"[not(X>=30)::2]) print "YNeos"[not(X>=30)::2] "YNeos" not(X>=30)::2 not(X>=30) X>=30 X 30 2 X = int(input()) int(input()) X
X = int(input())
print("YNeos"[not(X>=30)::2])