You are given two integers N and L. Write a program that finds the shortest list of consecutive non-negative integers whose sum is exactly N and whose length is at least L.
Concretely, for some integer a≥0 and length k, a valid list has the form a, a+1, a+2, …, a+k−1; its sum must equal N and its number of elements k must be at least L. Among all such lists, find the one with the smallest length.