#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using vi = vector<int>;
using vvi = vector<vector<int>>;
using mii = map<int, int>;
using msi = map<string, int>;
using pii = pair<int, int>;
struct Edge {
  int to;
  int weight;
  Edge(int t, int w) : to(t), weight(w) {}
};
using Graph = vector<vector<Edge>>;
int main() {
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = (0); i < (k); ++i) cout << s << " ";
  if (s == 1000000000)
    s = 1;
  else
    s++;
  for (int i = (0); i < (n - k - 1); ++i) cout << s << " ";
  cout << s << endl;
  return 0;
}
