process.stdin.resume();
process.stdin.setEncoding('utf8');
process.stdin.on('data', function (chunk) {
    var lines = chunk.toString().split(' ');
    var x = lines;

console.log(x[0] * x[1] + ' ' + x[0] * 2 + x[0] * 2);
  
});