import strutils let N, M = stdin.readLine.parseInt const k = 1_000 echo N div (k * M) * k