JOI Island consists of $L$ districts, numbered from $1$ to $L$ from west to east. There are $L -1$ roads in the island, numbered from $1$ to $L - 1$. Road $i$ ($1 ≤ i ≤ L - 1$) connects districts $i$ and $i + 1$ bidirectionally.

Now, the International Olympiad in Informatics (IOI 20XX) is planned to be held in JOI Island! The concern is that the island is famous for its extreme heat. There is a high risk of heat stroke, especially for foreign contestants who are not acclimatized to hot environment. So the organizers of IOI decided to take the following measures:
Since the usage of helicopter is costly, the organizers want to estimate the maximum number of patients to be sent by helicopter. They consider the following scenario as an example:
Write a program which, given the number of districts and the information of hospitals and heat stroke patients, computes the maximum number of patients to be sent by helicopter in the scenario above.
Read the following data from the standard input.
$L$
$C_1$ $C_2$ $\cdots$ $C_L$
$N$
$X_1$ $X_2$ $\cdots$ $X_N$
Write one line to the standard output. The output should contain the maximum number of patients to be sent by helicopter.