(stdin => {
  // Define Function

  // Declare Variable
  const inputs = stdin.toString().trim().split('\n')

  const a = parseInt(inputs[0].split(' ')[0], 10)
  const b = parseInt(inputs[0].split(' ')[1], 10)
  const c = parseInt(inputs[0].split(' ')[2], 10)

  const Less1 = (a, b) => a < b
  const less2 = (b, c) => b < c
  const com = (x, y) => {
    return (x && y) ? 'Yes' : 'No'
  }

  console.log(com(Less1(a, b), less2(b, c)))
})(require('fs').readFileSync('/dev/stdin', 'utf8'))
