a = int(input())
ans = "Yes" if a>= 30 else "No"
print(ans) a = int(input()) a int(input()) int input() input ans = "Yes" if a>= 30 else "No" ans "Yes" if a>= 30 else "No" a>= 30 a 30 "Yes" "No" print(ans) print ans a = int(input()) int(input()) a ans = "Yes" if a>= 30 else "No" "Yes" if a>= 30 else "No" ans
a = int(input())
ans = "Yes" if a>= 30 else "No"
print(ans)