Hello this code can solve what number do you have. If you don't believe it. try it. remixable.
Thanks for @violet_raven I changed some colors