#include <bits/stdc++.h>
using namespace std;
const long long INFL = 1e18;
const int INF = 1001001001;
const int mod = 1000000007;
const double PI = acos(-1);
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans;
  for (int i = 0; i < k; i++) ans.push_back(s);
  int a;
  for (int i = 0; i < sqrt(s) + 1; i++) {
    if (i == 0) continue;
    if (s % i) {
      a = i;
      break;
    }
  }
  for (int i = 0; i < n - k; i++) ans.push_back(a);
  for (int i = 0; i < n - 1; i++) cout << ans[i] << ' ';
  cout << ans[n - 1] << endl;
}
