let main = (standardInput) => {
  let lengthList = standardInput.split(' ');
  let a = parseInt(lengthList[0], 10)
  let b = parseInt(lengthList[1], 10)
  return ! (a % 2 == 0) && (b % 2 == 0)
}

main(require('fs').readFileSync('/dev/stdin', 'UTF-8'));
