import Foundation

extension String {
    subscript(i: Int) -> Character {
        self[index(startIndex, offsetBy: i)]
    }
}

func inputInt() -> Int {
    Int(readLine()!)!
}

func inputDouble() -> Double {
    Double(readLine()!)!
}

func inputArray() -> [String] {
    readLine()!.components(separatedBy: " ")
}

func inputIntArray() -> [Int] {
    inputArray().map({ Int($0)! })
}

func inputDoubleArray() -> [Float80] {
    inputArray().map({ Float80($0)! })
}

let i = inputDoubleArray()
let a = i[0]
let b = i[1]
print(Int(a * b))

