This scoreboard code makes use of Dense ranking method.
Input: 1.The First line contains the n number of scores in the scoreboard. 2.The Second line contains the n separated scores. 3.The Third line contains the i number of scores you need to add to the scoreboard. 4.The Fourth line must contain the i separated scores yo need to add.
Output: 1.It gives out the rank of the scores which you had entered in the fourth line.