e=t=8 n=21 for c in raw_input():t=t<<8|ord("wk/>~"[int(c)])*8 while n:e^=40;print''.join(' \/'[(t%e>>n-i)%2<