defmodule Main do
  def main do
    IO.gets("")
    |> String.trim()
    |> String.to_integer()
    |> process()
    |> IO.puts()
  end
  
  defp process(x) when x >= 30, do: "Yes"
  defp process(_), do: "No"
end