function main(input) {
    const args = input.split(' ');
    const a = parseInt(args[0]);
    const b = parseInt(args[1]);
  	let c = [1,2,3];

    for(let i=0; i<c.length; i++){
      if (a * b * c[i]  % 2 == 1){
        console.log('Yes');
      } else {
        console.log('No');
      }
    }
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'));