Marking Assignments


You are the Chief Examiner of a unit and you have tt assignments that are needed to be marked. You have nn TAs which mark assignments in parallel. The ii-th TA can mark an assignmnt every sis_i minutes. What is the minimum amount of time that it will take to mark all assignments?

Input

The first line will contain integers nn and tt. The number of TAs and number of assignments to mark, respectively. The second line contains nn integers, s1,…,sns_1,\dots,s_n, the time it takes for each TA to mark 1 assignment.

Output

Output the minimum time needed to mark every assignment.

Constraints

  • 1≤n≤1051 \le n \le 10^5
  • 1≤t,si≤1091 \le t, s_i \le 10^9

Example 1

Input 1
10 123
7 7 4 6 3 8 9 8 5 1 
Output 1
49

Example 2

Input 2
10 63
8 10 4 6 3 6 9 8 4 5 
Output 2
36

Comments0


No comments yet

Be the first to comment.

New comment


Log in to join the discussion.