valid number
median of two sorted arrays