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