Hongjun has two sequences A and B, each of length N. He builds an N×N matrix whose entry in row i and column j is Ai×Bj.
Hongjun sorts all N2 entries in non-decreasing order and wants to know the value that lands in position K. Positions are counted from 1, and a value that appears several times is counted once for each entry that produces it. Write the program that finds the K-th value for him, since sorting is slow for Hongjun.
Input
The first line contains N and K, separated by a space. (1≤N≤30000, 1≤K≤N2)
The second line contains the N elements of the sequence A, separated by spaces.
The third line contains the N elements of the sequence B, separated by spaces.
Every element of both sequences is an integer between 1 and 109.