function Main (S) {
  let s = S.split(' ') 
  let c = 0
  if (s[0] === s[1] && s[1] === s[2]) {
    console.log('Yes')
  } else {
    console.log('No')
  }
}
 
Main(require("fs").readFileSync("/dev/stdin", "utf8"));