import java.math.RoundingMode

fun main() {
    val inLine = readLine()!!.split(" ").map(String::toBigDecimal)

    var result = inLine[0] * inLine[1]

    println(result.setScale(0,RoundingMode.DOWN))

}