#include <bits/stdc++.h>
const double eps = 1e-10;
const int INF = 0x3f3f3f3f;
const long long inf = 0x3f3f3f3f3f3f3f3f;
using namespace std;
const int N = 2e5 + 7;
int t, n, m, fl = 0;
int main() {
  scanf("%d%d%d", &n, &m, &t);
  for (int i = 1; i <= n; i++) {
    if (i <= m)
      printf("%d ", t);
    else
      printf("%d ", t + 1);
  }
  return 0;
}
