#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0, k = 0, s = 0;
  cin >> n >> k >> s;
  if (s == 1) {
    for (int i = 0; i < k; i++) {
      cout << "1 ";
    }
    if (k < n) {
      for (int i = 0; i < n - k; i++) {
        cout << "191512 ";
      }
    }
  } else {
    int a1 = s / 2;
    int a2 = s / 2;
    if (a1 + a2 != s) {
      a2++;
    }
    int count1 = 0;
    int pair = 0;
    for (int i = 0; i < n; i++) {
      if (count1 >= 2) {
        pair++;
        if (pair >= k) {
          break;
        }
      }
      if (i % 2 == 0) {
        cout << a1 << " ";
      } else {
        cout << a2 << " ";
      }
      count1++;
    }
    if (count1 < n) {
      int temp = s + 1;
      if (s == 1000000000) {
        temp = 114514;
      }
      for (int i = count1; i < n; i++) {
        cout << temp << ' ';
      }
    }
  }
  return 0;
}
