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