import collections
import math


def main():
    n, k, s = map(int, input().split())
    if s > 1:
        print([s] * k + [s - 1] * (n - k))
    else:
        print([s] * k + [s + 1] * (n - k))


if __name__ == '__main__':
    main()
