Adilbek's house is located on a street which can be represented as the OX axis. This street is really dark, so Adilbek wants to install some post lamps to illuminate it. Street has nn positions to install lamps, they correspond to the integer numbers from 00 to n−1n−1 on the OX axis. However, some positions are blocked and no post lamp can be placed there.ios
There are post lamps of different types which differ only by their power. When placed in position xx, post lamp of power ll illuminates the segment [x;x+l][x;x+l]. The power of each post lamp is always a positive integer number.c++
The post lamp shop provides an infinite amount of lamps of each type from power 11 to power kk. Though each customer is only allowed to order post lamps of exactly one type. Post lamps of power ll cost alal each.ide
What is the minimal total cost of the post lamps of exactly one type Adilbek can buy to illuminate the entire segment [0;n][0;n] of the street? If some lamps illuminate any other segment of the street, Adilbek does not care, so, for example, he may place a lamp of power 33 in position n−1n−1 (even though its illumination zone doesn't completely belong to segment [0;n][0;n]).post
Input
The first line contains three integer numbers nn, mm and kk (1≤k≤n≤1061≤k≤n≤106, 0≤m≤n0≤m≤n) — the length of the segment of the street Adilbek wants to illuminate, the number of the blocked positions and the maximum power of the post lamp available.spa
The second line contains mm integer numbers s1,s2,…,sms1,s2,…,sm (0≤s1<s2<…sm<n0≤s1<s2<…sm<n) — the blocked positions.code
The third line contains kk integer numbers a1,a2,…,aka1,a2,…,ak (1≤ai≤1061≤ai≤106) — the costs of the post lamps.xml
Output
Print the minimal total cost of the post lamps of exactly one type Adilbek can buy to illuminate the entire segment [0;n][0;n] of the street.blog
If illumintaing the entire segment [0;n][0;n] is impossible, print -1.three