Vlad n friend want buy gift New YearThere m shop city buy gift friend if jth friend 1 le j le n receive gift buy shop number 1 le le m friend receive p_ij unit joy the rectangular table p_ij give inputvlad time visit n1 shop n number friend he choose shop visit friend buy gift themlet jth friend receive a_j unit joy Vlads gift Lets find value alphamina_1 a_2 dot a_n vlad goal buy gift value alpha large possible in word vlad wants maximize minimum joy friendsfor example let m 2 n 2 let joy gift buy shop p_11 1 p_122 second shop p_21 3 p_224then Vlad second shop buy gift friend bring joy 3 second bring joy 4 in case value alpha equal min3 4 3help Vlad choose gift friend value alpha high possible please note friend receive gift Vlad visit n1 shop n number friend in shop buy number gift