#include #include using namespace std; using ll = long long; #define rep(i,n) for(int i=0;i<(int)(n);i++) using mint = atcoder::modint998244353; int main(){ int h,w; cin>>h>>w; ll k; cin>>k; k%=8*h*w; vector> ans(h,vector(w,0)); auto isok=[&](int i,int j){ return 0<=i&&i