System.in.eachLine{n->5.times{i->for(v=n as int;v>0;v-=5)print((0..6).sum{"${0x223d2023f2c39473b5ef235918663}"[7*i+it]>"${v>5?5:v}"?' ':'*'}+(v>5?' ':'\n'))}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page