you give n array a_1 a_2 a_n array consist exactly m integer we denote yth element xth array a_x yYou choose array a_i a_j 1 le j le n possible j after obtain new array b consist m integer k 1 m b_k maxa_i k a_j kYour goal choose j value min limits_k 1 m b_k maximum possible