If you’re not aware, there is such a thing as adorable little three digit LCD 7-segment displays. They come in a ten-pin DIP ...
int S1=0, S2=0, S3=0, S4=0, S5=0, S6=0; ...