#include using namespace std; int main(){ ios_base::sync_with_stdio(false); cin.tie(nullptr); int N,K; cin >> N >> K; while(K) cout << N/K+(N%K>0) << " ",N -= N/K+(N%K>0),K--; }