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