const rl = require("readline").createInterface(process.stdin,process.stdout);

const b = Math.pow(10, 15)
rl.on("line", (input) => {
    const args = input.split(" ")

    if(0 <= Number(args[0]) && Number(args[0]) >= b) process.exit()
    if(0 <= Number(args[1]) && Number(args[1]) > 10) process.exit()

    const sum = args[0] * args[1]

    console.log(Math.floor(sum))
    process.exit()
});
