'use strict'

function main(input) {

    input = input.split('\n')[0].split('').sort().join('')

    let ans = (input==='abc')? 'Yes':'No'
    console.log(ans)
}

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