#!/usr/bin/env python3 #fileencoding: utf-8 W = int(input()) D = int(input()) for i in range(D-1): W -= W//((D-i)**2) print(W)