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