Skip to main content
1 of 7

C# (.NET Core), 74 + 18 bytes

s=>s.Select((x,i)=>$"{x}".PadLeft(s.Take(i).Sum(y=>y<92?-1:1)+(x<92?0:1)))

Outputs a collection of strings, one for each line. Byte count also includes:

using System.Linq;

Try it online!