import java.util.*

fun main(args: Array<String>) {
    val scanner = Scanner(System.`in`)
    val str = scanner.next()

    var aFlag = false
    var bFlag = false
    var cFlag = false
    if (str.length == 3) {
        str.forEach {it ->
            if (!aFlag && it == 'a') {
                aFlag = true
            }
            else if (!bFlag && it == 'b') {
                bFlag = true
            }
            else if (!cFlag && it == 'c') {
                cFlag = true
            }
        }

        if (aFlag && bFlag && cFlag) {
            println("Yes")
            return
        }
    }
    println("No")
}