Christmas Decorations FIXED by nn

for(;l=readline(a='');print(a))for(i=4;i--;a+='\n')for(;v=/[^,\d]*(\d*)[^,]+/g(l);)for(n=v[1]||1;n--;)for(j in r=[/ng/i,/dd/i,/sn/i,/tr/i,/car/i,/dl/i])r[j](v)&&(a+=' ^ 0 ! ! 0/__\\0  ||  0o----o0 || 0\\:/0=(.)=0(~~)0/,,,,\\0_/_L\\_0 || 0/:\\0 o.o 0(oo)0 /,,\\ 0  __  0((.)0 o 0  _  0 __ 0  /\\  0      0 )) '.split(0)[+j+6*i]+' ')

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

download

return to the top page