#include using namespace std; using ll = long long; int main(){ ll H, W, K, x=1, y=1, h=1, w=1; cin >> H >> W >> K; K %= (H*W*8); vector> S(H+1, vector(W+1)); for (int i=0; i