defmodule Main do
  def main do
      s =
      IO.read(:line)
      |> String.trim
      |> String.to_charlist
    if Enum.sort(s) == "abc" do
    	IO.puts("Yes")
    else
    	IO.puts("No")
    end
  end
end