function main(input) {
    const args = input.split(' ');
    const a = parseInt(args[0]);
    const b = parseInt(args[1]);
  	var c = [1,2,3];
  
  	const t = a*b;
  	c.forEach( n => {
      if(t * n % 2 === 1){
        console.log('Yes');
      } else {
        console.log('No');
      }
    })
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));