I don’t want to see other solutions before I give it a try… but I don’t understand the objective. Which blue “Bit” determines the color? One of the registers “Bits” or the one in available parts? Also, in the examples, for A = 6 or A = 7, the answers look wrong since neither has 6 or 7 balls. What am I missing?