#import the NumPy library
import numpy as np

#Creating an array
arr = np.array([1, 3, 2, 4, 5])

#Setting n as 3
n = 3

#Sorts the array and then fetches 
#'n' (3) largest values from the array
largest_n_values = np.sort(arr)[::-1][:n]

#displays the answer (descending)
print(largest_n_values)