import strutils, math

proc input: string =
  while true: (let t = stdin.readChar; if t.isSpaceAscii: break else: result.safeAdd t)

let v, t = input().parseFloat
echo (v * t).round(4).int