#include <bits/stdc++.h>
const char sp = ' ';
using namespace std;
int main(void) {
  long long N, K, S;
  cin >> N >> K >> S;
  if (S != 1000000000) {
    for (int i = 0, i_len = (N); i < i_len; ++i) {
      if (i == N - 1) {
        if (i < K)
          cout << S << endl;
        else if (i == K)
          cout << S + 1 << endl;
      } else {
        if (i < K)
          cout << S << sp;
        else
          cout << S + 1 << sp;
      }
    }
  } else {
    for (int i = 0, i_len = (N); i < i_len; ++i) {
      if (i == N - 1) {
        if (i < K)
          cout << S << endl;
        else
          cout << 999999999 << endl;
      } else {
        if (i < K)
          cout << S << sp;
        else
          cout << 999999999 << sp;
      }
    }
  }
  return 0;
}
