Given a string representation of a train, print an ASCII-art representation of this train. - `H`: locomotive `<HHHH` - `P`: passenger car `|OOOO|` Cars are attached together by `::` `HPP` —> `<HHHH::|OOOO|::|OOOO|` - `R`: restaurant car `|hThT|` `HPRP` —> `<HHHH::|OOOO|::|hThT|::|OOOO|` - `H`: locomotive attached at the end `HHHH>` `HPRPH` —> `<HHHH::|OOOO|::|hThT|::|OOOO|::HHHH>`