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