rakesh has given an array of integers