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