I stumbled upon the following code snippet in which the variable top3 has to be filled from a table have rather than from an array of numbers.
top3
have