function Main(input) {
  input = input.replace(/\n/g, ' ');
  input = input.split(" ");
  var A = input[0];
  var B = input[1];
  console.log(Math.floor((A*B*100)/100));
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));