W = input() D = input() for d in reversed(range(2,D+1)): W -= W/(d*d) print W