#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int N = 2e5 + 5;
const int mod = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int n, k, s;
  cin >> n >> k >> s;
  int a[n];
  a[0] = 1;
  a[1] = (s - 1);
  int flag = 0, cnt = 1;
  for (int i = 2; i < n; i++) {
    if (flag == 0)
      a[i] = a[i % 2];
    else
      a[i] = 1e9;
    cnt++;
    if (cnt == k) {
      flag = 1;
    }
  }
  for (int i = 0; i < n; i++) cout << a[i] << " ";
}
