Potato wants to go brrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrotating. He's got a grid of numbers, and wanted to rotate it clockwise multiple times.
So, as a lovely kind student, you must be happy to write a program that quickly help him get the final result.

Potato judges your code by the following limitations:
n = m = 2, 0 < k < 40 < n = m < 9, 0 < k < 40 < n,m < 100, 0 < k0 < n,m, 0 < kThe first line contains 3 integer n,m,k, representing the grid's size if nxm, and Potato's gonna rotate it clockwise by k times.
Following by n lines, each containing m integers, forming the grid.
Output the final grid after the k-th rotation.