"use strict";

function main(input) {
  input = input.trim().split(" ");
  const ans = Math.floor(parseFloat(input[0]) * parseFloat(input[1]));

  console.log(ans);
}

main(require("fs").readFileSync("/dev/stdin", "utf-8"));
