Dice

No attempts yetTime limit1sMemory limit128 MB

Problem

Bytie has mm dice. Each die has nn faces, and the faces show 1,2,,n1, 2, \dots, n pips respectively.

Bytie only cares about arrangements of the dice in a row where the top faces, read from left to right, form a non-decreasing sequence: every value is at least the value before it.

To compare two such arrangements, look at the leftmost position where they differ; the arrangement with the smaller value there is considered the "worse" one. In other words, the arrangements are ordered lexicographically.

Starting from the worst arrangement, in which every top face shows 11, Bytie lists all such arrangements in this order. Determine the kk-th arrangement in the list.

Write a program that

  • reads three integers mm, nn, and kk,
  • prints the kk-th arrangement in the order described above.

Input

The only line contains three positive integers mm, nn, and kk (1m201 \le m \le 20, 4n504 \le n \le 50, 1k10181 \le k \le 10^{18}).

The input is guaranteed to be such that the kk-th arrangement exists.

Output

Print the top faces of the mm dice in the requested kk-th arrangement, as mm positive integers separated by single spaces on one line.