#include <bits/stdc++.h>   using namespace std;   long long n, k;   vector<long long> v;   int main() {     if (fopen( a.txt ,  r )) {       freopen( a.txt ,  r , stdin);     } else       ios_base::sync_with_stdio(false);     cin.tie(NULL);     cin >> n >> k;     if (k >= 1e6) {       cout << -1;       exit(0);     };     long long temp = (k * (k + 1)) / 2;     if (k == 1) {       cout << n;       return 0;     }     if (n == 1) {       cout << -1;       exit(0);     };     if (temp > n) {       cout << -1;       exit(0);     };     for (long long i = 1; i * i <= n; i++) {       if (n % i != 0) continue;       v.push_back(i);       if (i * i < n) v.push_back(n / i);     }     sort(v.begin(), v.end());     reverse(v.begin(), v.end());     for (long long x : v) {       long long a = n / x;       if (a >= temp) {         for (int i = 1; i <= k - 1; i++) cout << i * x <<    , a -= i;         cout << a * x;         return 0;       }     }   }   