"use strict";
    
const main = arg => {
    arg = arg.split("\n");
    const N = arg[0].split(" ");
    const set = new Set(N);
    
    console.log(set.size === 1 ? "Yes" : "No");
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));