#include <algorithm>
#include <bitset>
#include <boost/multiprecision/cpp_int.hpp>
#include <boost/range/irange.hpp>
#include <cmath>
#include <map>
#include <numeric>
#include <iostream>
#include <string>
#include <vector>

using namespace std;
namespace mp = boost::multiprecision;
typedef long long ll;
const ll M = 1000000007;
const long T = 1000000000;

int main(){
	long n=1l;
	long k, s;
	cin >> n >> k >> s;
	if (s == T) {
		for (int i = 0; i < k; ++i) {
			cout << s;
		}
		for (int i = 0; i < n - k; ++i) {
			cout << s - 1;
		}
		return 0;
	}

	for (int i = 0; i < k; ++i) {
		cout << s;
	}
	for (int i = 0; i < n - k; ++i) {
		cout << T;
	}
	return 0;
}
