Two Section Repeating

Two section repeats until it gets a 0.