(stdin => {
  // Define Function
  const lessThen = (a, b) => a < b
  const range = f => (a, b, c) => f(a, b) && f(b, c)
  // Declare Variable
  const inputs = stdin.toString().trim().split('\n')
  const [a, b, c] = Array.from(inputs[0].split(' '), Number)
  // display
  console.log(range(lessThen)(a, b, c) ? 'Yes' : 'No')
  
})(require('fs').readFileSync('/dev/stdin', 'utf8'))

