function Main(input) {
  var a = input.split(" ")[0];
  var b = input.split(" ")[1];
  
  var result = parseInt(a * b, 10);
  console.log(result);
}

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