import java.util.Scanner

object Main {
  def main(args: Array[String]): Unit = {
    //nextLineとnextを同時に使ったら死ぬ
    val sc = new Scanner(System.in)
    val s = sc.next().toCharArray.sorted.mkString
    val ans = if (s == "abc") {
      "Yes"
    } else {
      "No"
    }

    println(ans)
  }

}

