import std.algorithm;
import std.array;
import std.conv;
import std.math;
import std.range;
import std.stdio;
import std.string;
import std.typecons;

int readint() {
    return readln.chomp.to!int;
}

int[] readints() {
    return readln.split.map!(to!int).array;
}

void main() {
    long w = readint();
    long d = readint();

    while (d > 0) {
        auto done = 1.0 * w / (d * d);
        w -= cast(long) done;
        d--;

        if (d == 0)
            writeln(done);
    }
}