#include <bits/stdc++.h>
using namespace std;
long long a, b, c, d;
int i[100000];
int u[100000];
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  string s;
  cin >> a >> b >> c;
  if (c < 1000000000) {
    for (int n = 0; n < a; n++) {
      if (n == 0) {
        if (b == 0)
          cout << c + 1;
        else
          cout << c;
      } else {
        if (n < b)
          cout << ' ' << c;
        else
          cout << ' ' << c + 1;
      }
    }
    cout << '\n';
  } else {
    for (int n = 0; n < a; n++) {
      if (n == 0) {
        if (b == 0)
          cout << 1;
        else
          cout << c;
      } else {
        if (n < b)
          cout << ' ' << c;
        else
          cout << ' ' << c - 1;
      }
    }
    cout << '\n';
  }
  return (0);
}
