target, n = map(int, input().split()) k = n i = (target - k*(k-1)//2)//k if i<0: i=0 j = n + i - 1 res = n ans = [] while True: if k>100: print('No') break total = (i+j)*k/2 if total == target: for x in range(k): ans.append(i) ...