#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
signed main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  int n, k, second;
  cin >> n >> k >> second;
  if (k == 0) {
    for (int i = 1; i <= n; i++) {
      cout << 1000000000 << ' ';
    }
    return 0;
  }
  if (second == 2) {
    int sum = 1;
    cout << 1 << ' ';
    for (int i = 2; i <= n; i++) {
      cout << 1 << ' ';
      sum += i;
      if (sum == k) {
        for (int j = i + 1; j <= n; j++) {
          cout << 1000000000 << ' ';
        }
        return 0;
      }
    }
  }
  cout << 1 << ' ';
  for (int i = 1; i <= k; i++) {
    cout << second - 1 << ' ';
  }
  for (int i = k + 2; i <= n; i++) {
    cout << 1000000000 << ' ';
  }
  return 0;
}
