def f(n,s=''):n<9or f(n-9,s+'*');n%9and f(n-1,s+'|');n or print(s) f(29+id('')%5*7)