// inputに入力データ全体が入る
function Main(input) {
  input = input.trim().split(' ');
  var A = BigInt(input[0]);
  var B = input[1].slice(0,1)+input[1].slice(2);
  B = BigInt(B);
  var prod = (A * B).toString()
  prod = prod.slice(0,-2);
  if (prod == ''){
    prod = 0
  }
  console.log(prod);
}

Main(require("fs").readFileSync("/dev/stdin","utf8"));
