object Main {
  def main(args: Array[String]): Unit = {
    import scala.io.StdIn.readLine
    val Array(datA, datB) = readLine.split(" ").map(_.toDouble)

    val ans = datA * datB
    println(ans.toLong)
  }
}
