Problem: Bizon the Champion isn't just friendly, he also is a rigorous coder.

Let's define function f(a), where a is a sequence of integers. Function f(a) returns the following sequence: first all divisors of a1 go in the increasing order, then all divisors of a2 go in the increasing order, and so on till the last element of sequence a. For example, f([2, 9, 1]) = [1, 2, 1, 3, 9, 1].

Let's determine the sequence Xi, for integer i (i ≥ 0): X0 = [X] ([X] is a sequence consisting of a single number X), Xi = f(Xi - 1) (i > 0). For example, at X = 6 we get X0 = [6], X1 = [1, 2, 3, 6], X2 = [1, 1, 2, 1, 3, 1, 2, 3, 6].

Given the numbers X and k, find the sequence Xk. As the answer can be rather large, find only the first 105 elements of this sequence.

Input

A single line contains two space-separated integers — X (1 ≤ X ≤ 1012) and k (0 ≤ k ≤ 1018).

Output

Print the elements of the sequence Xk in a single line, separated by a space. If the number of elements exceeds 105, then print only the first 105 elements.

Examples

Input

6 1


Output

1 2 3 6 


Input

4 2


Output

1 1 2 1 2 4 


Input

10 3


Output

1 1 1 2 1 1 5 1 1 2 1 5 1 2 5 10 

Solution (in CPP):

Solution:
#include <bits/stdc++.h>
using namespace std;
long long int n, k;
long long int fct[10005], ctr;
vector<int> dv[10005];
vector<int> brans[400];
void brute() {
  for (long long int i = 1; i <= ctr; ++i) brans[1].push_back(i);
  for (long long int i = 2; i <= k; ++i) {
    long long int st = 0;
    while (st < brans[i - 1].size() && brans[i].size() < 100000) {
      for (long long int v : dv[brans[i - 1][st]]) {
        brans[i].push_back(v);
        if (brans[i].size() == 100000) break;
      }
      st++;
    }
  }
  for (long long int v : brans[k]) cout << fct[v] << " ";
  cout << '\n';
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cin >> n >> k;
  if (n == 1) {
    cout << 1 << '\n';
    return 0;
  }
  for (long long int i = 1; i * i <= n; ++i) {
    if (n % i) continue;
    fct[++ctr] = i;
    if (i * i != n) fct[++ctr] = (n / i);
  }
  sort(fct + 1, fct + ctr + 1);
  for (long long int i = 1; i <= ctr; ++i) {
    for (long long int j = i; j <= ctr; ++j) {
      if (fct[j] % fct[i] == 0) dv[j].push_back(i);
    }
  }
  if (k == 0) {
    cout << n << '\n';
    return 0;
  }
  if (k == 1) {
    for (long long int i = 1; i <= ctr; ++i) cout << fct[i] << " ";
    cout << '\n';
    return 0;
  }
  if (k >= 320) {
    vector<long long int> ans;
    long long int st = 1;
    while (st <= ctr && ans.size() < 100000) {
      if (fct[st] == 1) {
        ans.push_back(1);
      } else if (dv[st].size() == 2) {
        long long int temk = k;
        while (temk && ans.size() < 100000) {
          if (temk == 1)
            ans.push_back(fct[st]);
          else
            ans.push_back(1);
          temk--;
        }
      } else if (dv[st].size() == 3) {
        long long int pr = fct[dv[st][1]];
        for (long long int tk = k - 1; tk >= 1; tk--) {
          if (ans.size() == 100000) break;
          long long int temk = tk;
          while (temk && ans.size() < 100000) {
            ans.push_back(1);
            temk--;
          }
          if (ans.size() < 100000) ans.push_back(pr);
        }
        if (ans.size() < 100000) ans.push_back(fct[st]);
      } else {
        long long int p = fct[dv[st][1]];
        long long int q = fct[dv[st][2]];
        for (long long int tk = k - 1; tk >= 1; tk--) {
          if (ans.size() == 100000) break;
          long long int temk = tk;
          while (temk && ans.size() < 100000) {
            ans.push_back(1);
            temk--;
          }
          if (ans.size() < 100000) ans.push_back(p);
          temk = tk - 1;
          while (temk && ans.size() < 100000) {
            ans.push_back(1);
            temk--;
          }
          if (ans.size() < 100000) ans.push_back(q);
        }
        if (ans.size() < 100000) ans.push_back(fct[st]);
      }
      st++;
    }
    for (long long int v : ans) cout << v << " ";
    cout << '\n';
  } else
    brute();
}