Problem

5 /8


Removing columns

Problem

A two-dimensional array stores the results (time in minutes) shown by each of the \(N\) cyclists at each of the 12 events ( in the zero column - the results of the first stage, in the first - the second, etc.) The results of the K-th stage were invalidated by the panel of judges and were removed from the table.
Modify the array accordingly and print it to the screen.

By deleting a column in a two-dimensional array, we mean:
1) exclusion of this column from the array by shifting all columns following it by one to the left;
2) assigning the value 0 to all elements of the last column (or reducing the number of columns by 1).

Input
The first line specifies the number N (0<N<=30). Next come N lines of 12 numbers each. Each number modulo no more than 100. Following a new line is the number K (1<=K<=12).

Imprint
Display the transformed matrix, allocating three character spaces for each element.
 
Example
# Input Output
1 4
65 2 22 62 41 18 80 15 35 20 21 27 
7 28 35 98 15 27 87 95 73 45 26 28 
1 99 11 69 11 13 80 78 3 53 76 73
87 37 11 85 72 33 59 79 61 53 80 67
4
 65 2 22 41 18 80 15 35 20 21 27
  7 28 35 15 27 87 95 73 45 26 28
  1 99 11 11 13 80 78 3 53 76 73
 87 37 11 72 33 59 79 61 53 80 67