var i,n:comp=random(5);begin for i:=-n to n do writeln("+":n-1shr i*n+1,"++++++++":1shr i*n*2)end.