object Main extends App {
  val sc = new java.util.Scanner(System.in)
//  val l = List.fill(3)(sc.nextInt)
  val s = sc.next

  val ans = if ("abc".forall(s.contains(_))) "Yes" else "No"
  println(ans)
}