package main import ( "fmt" ) func main() { var L, K int64 fmt.Scan(&L, &K) count := L/K/2 fmt.Println(count*K) }