#include <bits/stdc++.h>
using namespace std;
int main() {
  int count = 0;
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; i++) {
    if (count >= k) {
      cout << min(s + 1, 1000000000 - 2);
    } else if (s != 1) {
      if (i == 0) {
        cout << 1;
      } else if (i % 2 == 1) {
        cout << s - 1;
        count++;
      } else {
        count++;
        cout << 1;
      }
    } else {
      if (count >= k) {
        cout << 6;
      } else {
        cout << 1;
        count++;
      }
    }
    if (i < n - 1) {
      cout << " ";
    }
  }
}
