
main(require('fs').readFileSync('/dev/stdin', 'utf8'));

function main(input) {
  input = input.split('\n');
  let x = input[0].split(' ');
  const a = parseFloat(x[0]);
  const b = parseFloat(x[1]);
  console.log(Math.trunc(a * b));
}
