Jan Van den Bergh's solution:

Same solution, but with missing last zero.