human
Everybody knows that the m-coder Tournament will happen soon. m schools participate in the tournament, and only one student from each school participates.

There are a total of n students in those schools. Before the tournament, all students put their names and the names of their schools into the Technogoblet of Fire. After that, Technogoblet selects the strongest student from each school to participate. 

Arkady is a hacker who wants to have k Chosen Ones selected by the Technogoblet. Unfortunately, not all of them are the strongest in their schools, but Arkady can make up some new school names and replace some names from Technogoblet with those. You can't use each made-up name more than once. In that case, Technogoblet would select the strongest student in those made-up schools too.

You know the power of each student and schools they study in. Calculate the minimal number of schools Arkady has to make up so that k Chosen Ones would be selected by the Technogoblet.

Input

The first line contains three integers n, m and k (1 ≤ n ≤ 100, 1 ≤ m, k ≤ n) — the total number of students, the number of schools and the number of the Chosen Ones.

The second line contains n different integers p_1, p_2, …, p_n (1 ≤ p_i ≤ n), where p_i denotes the power of i-th student. The bigger the power, the stronger the student.

The third line contains n integers s_1, s_2, …, s_n (1 ≤ s_i ≤ m), where s_i denotes the school the i-th student goes to. At least one student studies in each of the schools. 

The fourth line contains k different integers c_1, c_2, …, c_k (1 ≤ c_i ≤ n) — the id's of the Chosen Ones.

Output

Output a single integer — the minimal number of schools to be made up by Arkady so that k Chosen Ones would be selected by the Technogoblet.

Examples

Input

7 3 1
1 5 3 4 6 7 2
1 3 1 2 1 2 3
3

Output

1

Input

8 4 4
1 2 3 4 5 6 7 8
4 3 2 1 4 3 2 1
3 4 5 6

Output

2

Note

In the first example there's just a single Chosen One with id 3. His power is equal to 3, but in the same school 1, there's a student...
Using python3 can you solve the prior task?

Can you provide a Python code to calculate the minimal number of schools Arkady has to make up so that k Chosen Ones would be selected by the Technogoblet?
assistant
#Here is Python code to calculate the minimal number of schools Arkady has to make up so that k Chosen Ones would be selected by the Technogoblet.

class Student:

    def __init__(self, i, score):
        self.i = i
        self.score = score

sch = {}
i = 0

def study(x):
    x = int(x)
    global i
    if x in sch:
        sch[x].append(Student(i, st[i]))
    else:
        sch[x] = [Student(i, st[i])]
    i += 1
    return x

n, m, k = list(map(int, input().split()))
st = list(map(int, input().split()))
school = list(map(study, input().split()))
favorites = set(map(int, input().split()))
tops = set()
for i in sch:
    sch[i].sort(key=lambda x: x.score)
for i in sch:
    tops.add(sch[i][-1].i + 1)
count = 0
for i in favorites:
    if i not in tops:
        count += 1
print(count)