let () =
  let s = read_line () in
  Array.init (String.length s) (fun i -> s.[i])
  |> Array.to_list
  |> List.sort compare
  |> ( = ) ['a'; 'b'; 'c']
  |> (function true -> "Yes" | false -> "No")
  |> print_endline 
