File standardInput readLines map(repeated(4))do(for(i,1,48,for(j,0,2,at((i+j)%3)slice(i,i+16)println);writeln))