give 2D integer array num numsi nonempty array distinct positive integer return list integer present array num sort ascending order Example 1input num 3124512343456output 34explanation the integer present nums0 31245 nums1 1234 nums2 3456 3 4 return 34example 2input num 123456output Explanation there exist integer present nums0 nums1 return list Constraints1 numslength 10001 sumnumsilength 10001 numsij 1000all value numsi unique