Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
the edit now just adds another question keeping the original questions in place. It does not invalidate your answers because you answered the original single question correctly. You can try to help with the added question if possible.
ThankYou for clarifying and sorry for not mentioning that the numbers are always 1,2,3,4,5,6 (hence no repitions) and the ranking is predefined (not necessarily increasing or decreasing order).