COMPUTER SCIENCEUse the Find Largest algorithm to help you develop an algorithm to find the median value in a list containing N unique numbers. The median of N numbers is defined as the value in the list in which approximately half the values are larger than it and half the values are smaller than it. For example, consider the following list of seven numbers. 26, 50, 83, 44, 91, 20, 55. The median value is 50 because three values (20, 26, and 44) are smaller and three values (55, 83, and 91) are larger. If N is an even value, then the number of values larger than the median will be one greater than the number of values smaller than the median. Get a value for n, the size of the list. Get values for $\mathrm{A}_{1}, \mathrm{A}_{\mathrm{2},} \ldots, \mathrm{A}_{n^{\prime}}$ the list to be searched. Set the value of largest so far to $A_{1}$ Set the value of location to 1.Set the value of i to 2. While $(i \leq n)$ do If $A_{i}>$ largest so far then. Set largest so far to $A_{i}.$ Set location to i. Add 1 to the value of i. End of the loop. print out the values of largest so far and location. Stop.