Kuroni n daughter as gift buy n necklace n bracelet ith necklace brightness a_i a_i pairwise distinct ie a_i different ith bracelet brightness b_i b_i pairwise distinct ie b_i different Kuroni want exactly necklace exactly bracelet daughter to sure look unique total brightness gift give daughter pairwise distinct Formally ith daughter receive necklace brightness x_i bracelet brightness y_i sum x_i y_i pairwise distinct Help Kuroni distribute giftsfor example brightnesse 1 7 5 b 6 1 2 distribute gift follow Give necklace bracelet daughter total brightness a_3 b_1 11 Give necklace bracelet second daughter total brightness a_1 b_3 3 give second necklace second bracelet daughter total brightness a_2 b_2 8 here example invalid distribution Give necklace bracelet daughter total brightness a_1 b_1 7 give second necklace second bracelet second daughter total brightness a_2 b_2 8 Give necklace bracelet daughter total brightness a_3 b_3 7 this distribution invalid total brightness gift receive daughter do not upset