import java.math.BigDecimal
import java.math.RoundingMode

fun main(args: Array<String>) {
    val (a, b) = readLine()!!.split(' ').map{ BigDecimal(it) }
    val ab = a*b
    println(ab.setScale(0, RoundingMode.DOWN).toPlainString())
}
