Navruz Garlands
Navruz is coming, and Dilnoza is decorating her shop. The shop has ribbons, and the -th ribbon has an integer length of centimeters. Dilnoza wants to make garlands from pieces of the same integer length . A ribbon of length can be cut into pieces of length . The leftover part of each ribbon is thrown away, and ribbons cannot be glued together. Dilnoza needs at least pieces. Find the maximum integer such that she can obtain at least pieces of length . If it is impossible even for , print .
Input
The first line contains two integers and (, ) — the number of ribbons and the required number of pieces.
The second line contains integers () — the lengths of the ribbons.
Output
Print one integer — the maximum length of a piece such that at least pieces can be obtained, or if it is impossible even for .