Find Kth element from two sorted array