import io.StdIn._
import scala.math._

object Main extends App {
  val Seq(n, l) = readLine().split(" ").map(_.toInt).toSeq

  require(2 <= n && n <= 200)
  require(-100 <= l && l <= 100)

  val sum = (1 to n).map(l + _ - 1).sum
  val min = (1 to n).map(i => abs(sum - (sum - (l + i - 1)))).min
  (1 to n).find(i => abs(sum - (sum - (l + i - 1))) == min).map(i => println(sum - l - i + 1))
}
