#include <bits/stdc++.h>
using namespace std;
template <typename T>
inline void read(T& x) {
  x = 0;
  char c = getchar();
  while (!isdigit(c)) c = getchar();
  while (isdigit(c)) x = x * 10 + c - '0', c = getchar();
}
int main() {
  int n, k, s;
  read(n), read(k), read(s);
  for (int i = 1; i <= k; ++i) printf("%d ", s);
  for (int i = k + 1; i <= n; ++i) printf("%d ", s + i - k);
  puts(" ");
  return 0;
}
