Ivan play roguelike computer game he control single hero game the hero n equipment slot there list c_i item ith slot jth increase hero strength a_ij the item slot pairwise distinct list increase order strength increase so a_i1 a_i2 dot a_ic_iFor slot Ivan choose exactly item let choose item ith slot b_ith item corresponding list the sequence choice b_1 b_2 dots b_n call buildThe strength build sum strength increase item some build ban game there list m pairwise distinct ban build its guarantee there s build that s bannedwhat build maximum strength ban game if multiple build maximum strength print