Nagarro Interview Question

Print top 5 closest elements to a no. From the sorted array given.