polar bear like unique array array repeat element you get unique array s length n contain nonnegative integer since good friend Alice Bob decide split array precisely need construct array b length n follow condition 1 in aibi nonnegative integer siaibi ideally b unique array however life Arctic hard possible Fortunately Alice Bob happy array unique we define array length n unique turn unique array remove entriesFor example array 12132 unique remove entry 132 the array 121312 unique need remove 3 entry turn unique arraySo task split give unique array s unique array b