process.stdin.resume();
process.stdin.setEncoding('utf8');

process.stdin.on('data', function (chunk) {
    var line = chunk.toString().split(' ');
    var menseki = line[0] * line[1];
    var syu = line[0] * 2 + line[1] * 2;
    console.log(menseki + ' ' + syu);
});