Input format
first the number of shelves n & nbsp; (an integer). Style = "Text-align: Justify;"> Then n & nbsp; lines, each of which is one shelf. Each line contains the number of cells on the shelf & nbsp; m & nbsp; (an integer), followed by & nbsp; m & nbsp; integers separated by spaces, & ndash; The number of products in each cell.
rn
at the end the threshold value of Threshold (the whole Number) DIV>
Output format
The program should display a new two-dimensional massif representing a filtered warehouse. Each line of the array should correspond to the filtered shelf. Lines are displayed on separate lines. In each line, the values of cells are displayed, separated by spaces. If after filtration on the shelf there are no cells left, only & nbsp; 0
is displayed
Example
Input
3
4 10 5 2 8
3 3 1 7
2 6 4
5
Hint
There will be no clue here, decide for yourself!