var fs = require('fs'),
    length = fs.fstatSync(process.stdin.fd).size,
    buffer = new Buffer(length),
    bytesRead = fs.readSync(process.stdin.fd, buffer, 0, length, 0),
    input = buffer.toString('utf8', 0, bytesRead).split('\n');
main();
function main(){
var splited_input = input.split(" ");
var tate = parseInt( splited_input[0]);
var yoko = parseInt( splited_input[1]);

var menseki = tate * yoko;

var shu = tate + yoko + tate + yoko;

var answer = menseki + " " + shu;
console.log(answer);
}
