#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
using namespace std;
struct __INIT {
  __INIT() {
    cin.tie(0);
    ios::sync_with_stdio(false);
    cout << fixed << setprecision(15);
  }
} __init;
constexpr int MOD = 998244353;
int dx[8] = {1, 1, 0, -1, -1, -1, 0, 1};
int dy[8] = {0, 1, 1, 1, 0, -1, -1, -1};
const int MAX_N = 2e5 + 5;
int main(void) {
  long long N, K, S;
  cin >> N >> K >> S;
  if (K == 0) {
    if (S == 1000000000)
      for (long long(i) = 0; (i) < (N); (i)++) cout << 1 << " ";
    else
      for (long long(i) = 0; (i) < (N); (i)++) cout << 1000000000 << " ";
    cout << "\n";
    return 0;
  } else {
    for (long long(i) = 0; (i) < (N); (i)++) {
      if (i < K)
        cout << S << " ";
      else {
        if (S != 1)
          cout << 1 << " ";
        else
          cout << 2 << " ";
      }
    }
    cout << "\n";
  }
}
