import std.stdio, std.string, std.conv, std.math; void main(){ uint w = readln.strip.to!uint; uint d = readln.strip.to!uint; uint remainWork = w; uint dayWorks = 0; foreach(day; 0..d){ dayWorks = remainWork/(d-day)^^2; remainWork -= dayWorks; } dayWorks.writeln(); }