Sequence Transformation moderate challenge solved with a dirty hack.

Shame on me....