nums into it.score to keep track of the total score.k times:
a. Extract the maximum value from the heap.
b. Add the maximum value to score.
c. Calculate the new value as the ceiling of the maximum value divided by 3.
d. Insert the new value back into the heap.score as the final result.