while(0<1){var Array(a,b)=readLine split" "map(_.toInt);println((a*a/b+b+1)/2)}