h$ = "
| " repeat s$ = input until s$ = "" write h$ for c$ in strchars s$ if c$ = "," if scnd = 0 c$ = " | " else c$ = " | " . elif c$ = "<" c$ = "<" elif c$ = ">" c$ = ">" elif c$ = "&" c$ = "&" . write c$ . if scnd = 0 h$ = " |
|---|---|---|
| " scnd = 1 else h$ = " | ||
| " . . print " |