function Main(arg) {
    var arg = arg.trim().split(' ');
    var a = Number(arg[0]);
    var b = Number(arg[1]);
    
    console.log((a*b).toString().split('.')[0]);
    return;
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));