#include <bits/stdc++.h>
using namespace std;
struct pos {
  int x;
  int l;
} p[100000];
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  cout << s;
  k--;
  for (int i = 0; i < k; i++) {
    cout << " " << s;
  }
  s = (s + 1) % 1000000000;
  for (int i = 0; i < n - k - 1; i++) {
    cout << " " << s;
  }
}
