Under construction

Still being built. Things may change

Tables

Time limit1sMemory limit128 MB

Summary
Given box screw counts, find the fewest boxes whose screws total at least s*k.
Level

Easy3 of 10

Topics
Greedy, Sorting
Solved
No attempts yet

Problem

Byteman works as a carpenter. He has just received an order for ss pine-wood tables. His workshop has plenty of pine boards, but he has run out of screws, so he must walk to the warehouse and carry back some boxes of screws. Building one table needs exactly kk screws. What is the minimum number of boxes he has to bring so that he has enough screws to build all ss tables?

Input

The first line contains three integers nn, kk, and ss (1≤n,k,s≤10001 \le n, k, s \le 1000), separated by single spaces: the number of screw boxes in the warehouse, the number of screws each table needs, and the number of tables to build.

The second line contains nn integers aia_i (1≤ai≤10001 \le a_i \le 1000), separated by single spaces, where aia_i is the number of screws in the ii-th box. The values are not necessarily distinct.

Output

Print a single integer: the minimum number of boxes Byteman must bring from the warehouse to build all ss tables. You may assume the warehouse holds enough screws to build every table.

Hint

Building three tables that each need six screws takes 3×6=183 \times 6 = 18 screws in total. Byteman can reach this with three boxes, for example the boxes holding 3, 7, and 9 screws, or the boxes holding 9, 5, and 7 screws. No two boxes add up to 18, so the answer is 3.

Examples1

  1. Example 1

    Input
    5 6 3
    3 9 5 7 3
    
    Expected output
    3