def main():
    n, k, s = map(int, input().split(" "))
    array = [s for _ in range(k)]
    array += [s + 1 for _ in range(k, n)]
    print(" ".join(map(str, array)))


if __name__ == '__main__':
    main()
