a company n friend want order exactly pizza it know total 9 pizza ingredient nature denote integer 1 9each n friend favorite ingredient ith friend number favorite ingredient equal f_i 1 le f_i le 9 favorite ingredient form sequence b_i1 b_i2 dot b_if_i 1 le b_it le 9the website CodePizza restaurant exactly m m ge 2 pizza each pizza characterized set r_j ingredient a_j1 a_j2 dot a_jr_j 1 le r_j le 9 1 le a_jt le 9 include price c_jhelp friend choose exactly pizza way maximum number people company it know person pleased choice hisher favorite ingredient order pizza if way choose pizza maximum number friend choose minimize total price pizza