polycarp x red y blue candy use want gift set each gift set contain red candy b blue candy blue candy b red candy any candy belong gift sethelp Polycarp find large number gift set createfor example x 10 y 12 5 b 2 Polycarp gift set in set 5 red candy 2 blue candy in second set 5 blue candy 2 red candy in set 5 blue candy 2 red candy note example red candy Polycarp use gift set