#include <bits/stdc++.h>
using namespace std;
using vi = vector<int>;
using vb = vector<bool>;
using vl = vector<long>;
using vs = vector<string>;
using vvi = vector<vector<int>>;
using vvb = vector<vector<bool>>;
using vvc = vector<vector<char>>;
using pii = pair<int, int>;
using pll = pair<long, long>;
int main() {
  long n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    if (s == 1e9) {
      for (int i = 0; i < (int)(n); i++) {
        cout << 1 << " ";
      }
      cout << endl;
      return 0;
    } else {
      for (int i = 0; i < (int)(n); i++) {
        cout << 1000000000 << " ";
      }
      cout << endl;
      return 0;
    }
  }
  long g = n + 1 - k;
  int i = 0;
  while (i < n) {
    for (int j = 0; j < (int)(g - 1); j++) {
      cout << 1 << " ";
      i++;
      if (i >= n) break;
    }
    if (i >= n) break;
    cout << s - (g - 1) << " ";
    i++;
    if (i >= n) break;
  }
  cout << endl;
}
