#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  if (N == K) {
    for (int i = 0; i < N; i++) {
      cout << S;
    }
    cout << endl;
  } else {
    for (int i = 0; i < K + 1; i++) {
      if (i % 2 == 0) {
        cout << 2 * S + 1;
      } else {
        cout << -S - 1;
      }
    }
    for (int j = K + 1; j < N; j++) {
      cout << S + 1000;
    }
    cout << endl;
  }
}
