This almost works...

I started with the line:
1,234,567
after the first loop it looked like this:
1234,567
then:
134,567
then:
14,567
then:
1,567
then:
1567
then:
167
then:
17
then:
1

and after that it starts an endles loop that return 1 everytime.

any clues?

/V.O