#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
using ull = unsigned long long;
const ll K_MAX = 1e5 + 5;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  ll t;
  if (s < 1e9) {
    t = s + 1;
  } else {
    t = s - 1;
  }
  for (int i = 0; i < (k); ++i) {
    if (i < k) {
      cout << s << " ";
    } else {
      cout << t << " ";
    }
  }
}
