function f(a)for i=0,5 do t=a:find(i)or(#a>8 and print or f)(a>''and a..' '..i or a..i)end end f''