G. Cost of Coloring
time limit per test
3 seconds
memory limit per test
512 megabytes
input
standard input
output
standard output

There is a sheet of paper divided into $$$n$$$ rows and $$$m$$$ columns. Initially, no cell of this sheet is colored.

In one operation, you can choose any column or row and color it (if some cells were previously colored, their color changes to the new one). During the first operation, cells are colored with color $$$1$$$; during operation $$$i \gt 1$$$, you can choose either color $$$c_{i-1}$$$ or $$$c_{i-1} + 1$$$, where $$$c_{i-1}$$$ is the color chosen during operation $$$(i-1)$$$.

We call the final coloring beautiful if the following conditions are met:

  • each cell is colored;
  • for each color from $$$1$$$ to $$$k$$$, there is at least one cell colored in that color, and no other colors are used in the coloring.

For a beautiful final coloring, we define its value as the minimum number of operations required to achieve it.

For each $$$i$$$ from $$$\min(n, m)$$$ to $$$n + m - 1$$$, calculate the number of beautiful colorings with value $$$i$$$. Two colorings are considered different if the color of at least one cell differs in these colorings.

Input

The input consists of a single line containing three integers $$$n, m, k$$$ ($$$2 \le n, m \le 2000$$$; $$$1 \le k \le n + m - 1$$$).

Output

For each $$$i$$$ from $$$\min(n, m)$$$ to $$$n + m - 1$$$, output a single integer — the number of beautiful colorings with value $$$i$$$, taken modulo $$$998244353$$$.

Examples
Input
2 3 2
Output
2 12 6 
Input
2 3 3
Output
0 18 36 
Input
3 2 4
Output
0 0 36 
Input
2 2 3
Output
0 8 
Input
2 2 2
Output
4 4 
Input
2 2 1
Output
1 0 
Input
5 3 4
Output
0 90 1500 7830 8100 
Input
3 5 3
Output
6 120 750 1770 930 
Input
5 2 2
Output
2 15 30 35 10 
Input
2 5 2
Output
2 15 30 35 10