'use strict'

function main(input) {

    input = input.split('').sort().join('')
    const ans = input == 'abc' ? 'Yes' : 'No'
    console.log(ans)

}

main(require("fs").readFileSync("/dev/stdin", "utf8"));