func main() var ss: [][]char :: cui@input().split(" ") var L: int :: ss[0].toInt(&) var K: int :: ss[1].toInt(&) var N: int :: (L - 1) / (2 * K) var ans: int :: N * K do cui@print("\{ans}\n") end func