const main = function(arg) {
    var input = arg.trim().split(" ");
    var H = parseInt(input[0])
    var W = parseInt(input[1])
    console.log(Math.ceil((H*W)/2))
}
main(require('fs').readFileSync('/dev/stdin', 'utf8')); 