p02727 AtCoder Beginner Contest 160 - Red and Green Apples_9760
You are going to eat X red apples and Y green apples.
You have A red apples of deliciousness p_1,p_2, \dots, p_A, B green apples of deliciousness q_1,q_2, \dots, q_B, and C colorless apples of deliciousness r_1,r_2, \dots, r_C.
Before eating a colorless apple, you can paint it red or green, and it will count as a red or green apple, respectively.
From the apples above, you will choose the apples to eat while making the sum of the deliciousness of the eaten apples as large as possible.
Find the maximum possible sum of the deliciousness of the eaten apples that can be achieved when optimally coloring zero or more colorless apples.

Constraints

* 1 \leq X \leq A \leq 10^5
* 1 \leq Y \leq B \leq 10^5
* 1 \leq C \leq 10^5
* 1 \leq p_i \leq 10^9
* 1 \leq q_i \leq 10^9
* 1 \leq r_i \leq 10^9
* All values in input are integers.

Input

Input is given from Standard Input in the following format:


X Y A B C
p_1 p_2 ... p_A
q_1 q_2 ... q_B
r_1 r_2 ... r_C


Output

Print the maximum possible sum of the deliciousness of the eaten apples.

Examples

Input

1 2 2 2 1
2 4
5 1
3


Output

12


Input

2 2 2 2 2
8 6
9 1
2 1


Output

25


Input

2 2 4 4 4
11 12 13 14
21 22 23 24
1 2 3 4


Output

74
x,y,_,_,_ = map(int,raw_input().split(' '))

a,b,c = map(int, raw_input().split(' ')),map(int, raw_input().split(' ')),map(int, raw_input().split(' '))
a.sort(key = lambda x:-x)
b.sort(key = lambda x:-x)
c.sort(key = lambda x:-x)
r = a[:x] + b[:y]
r.sort()

i,j = 0,0
while(j < len(c) and i < len(r)):
	if c[j] > r[i]:
		r[i] = c[j]
		i +=1
	else:
		break
	j +=1

print sum(r)
2 2 2 2 2
8 6
9 1
2 1 1 2 2 2 1
2 4
5 1
3 2 2 4 4 4
11 12 13 14
21 22 23 24
1 2 3 4 2 2 2 2 3
8 6
9 1
2 1 1 2 2 2 1
3 4
5 1
3 2 2 4 4 4
11 12 13 14
21 22 23 22
1 2 3 4 2 2 2 2 3
8 1
9 1
2 1 0 2 2 2 3
8 1
9 1
2 1 2 1 4 4 4
11 12 13 14
21 22 23 22
0 2 3 4 1 2 2 4 1
3 3
1 1
3 2 1 4 4 4
11 12 13 14
21 25 23 22
0 1 3 4 1 0 4 4 1
3 3
1 1
3 1 1 4 4 1
3 3
1 1
3 1 1 4 4 1
6 3
1 1
3 0 2 4 4 4
11 12 13 14
18 25 23 22
0 2 3 4 1 2 0 0 3
8 2
9 1
2 1 1 2 4 8 1
6 3
1 1
3 0 2 4 4 4
11 12 13 14
18 25 23 33
0 2 3 4 1 0 0 0 3
8 2
9 1
2 1 2 2 4 8 1
6 3
1 1
3 0 2 4 0 4
11 22 13 14
18 27 23 33
0 4 3 4 0 2 4 -1 4
8 22 13 1
18 27 31 33
1 4 2 4 1 0 -2 -1 3
15 -1
9 2
2 -1 0 2 4 -1 4
8 22 13 1
18 15 31 44
1 1 2 1 1 0 -2 0 3
27 -2
9 0
2 -1 0 2 4 -1 8
8 22 13 1
18 15 14 44
1 1 2 1 0 2 4 -1 8
8 22 13 1
18 15 27 44
1 1 2 1 0 2 4 -1 8
8 22 13 1
18 15 49 44
1 1 2 1 0 2 4 0 8
5 12 2 1
4 25 95 44
2 1 2 1 1 2 2 2 1
2 4
9 1
3 2 2 1 4 4
11 12 13 14
21 22 23 24
1 2 3 4 2 2 2 2 3
8 3
9 1
2 1 2 2 2 2 3
8 2
9 1
2 1 2 1 4 4 4
11 12 13 18
21 22 23 22
0 2 3 4 0 2 4 4 4
11 12 13 14
18 25 23 63
0 2 3 4 1 1 0 0 3
8 2
9 1
2 2 1 0 -1 0 3
4 1
9 1
2 -1 1 0 -2 -1 3
24 -1
9 2
2 -1 1 0 -2 0 3
43 -2
9 0
2 -1 0 1 4 -1 8
8 22 13 1
18 15 14 44
1 1 2 1 0 2 4 0 8
5 12 8 1
10 15 10 44
2 1 2 0 0 3 5 -1 8
8 5 2 1
4 24 95 44
2 1 4 1 0 2 5 0 8
8 5 2 1
4 24 95 62
2 0 4 1 2 2 1 4 4
11 12 13 14
21 22 8 24
1 2 3 4 2 4 4 4 4
11 15 13 14
21 22 23 22
1 2 3 4 2 1 4 4 4
11 12 4 18
21 22 23 22
0 2 3 4 0 4 4 0 4
8 22 25 14
18 27 23 33
0 4 3 4 0 2 6 0 4
8 22 13 14
18 1 23 33
0 4 2 4 1 0 -2 1 3
18 -1
9 0
2 -1 0 1 4 -1 8
8 22 15 1
18 15 49 44
1 1 2 1 0 2 4 1 8
5 12 2 1
4 25 156 44
2 1 4 1 0 2 5 0 8
5 12 2 1
4 25 95 5
2 0 4 1 0 3 5 -1 8
8 5 2 1
4 48 95 44
2 1 4 1 0 2 5 -2 8
8 5 2 1
4 34 100 44
2 1 4 1 1 2 2 4 1
4 2
7 1
3 2 2 4 4 4
11 12 13 6
21 22 12 22
0 3 3 4 2 1 4 4 4
11 12 4 18
36 22 23 22
0 2 3 4 0 1 4 6 4
11 12 13 14
7 22 23 22
0 1 3 4 1 2 8 4 1
0 1
1 1
3 0 4 4 0 4
8 22 25 14
18 27 0 33
0 4 3 4 1 0 -1 0 3
0 1
9 1
2 -1 0 4 4 -1 4
15 22 10 1
18 15 31 33
1 1 2 1 0 2 4 -1 4
14 22 13 1
18 15 31 74
1 0 2 1 0 2 4 -1 8
8 22 13 1
18 15 31 71
0 2 2 1 1 2 4 0 8
5 24 8 1
18 15 72 44
2 1 1 0 0 2 4 0 8
5 12 8 1
10 15 10 40
2 1 4 0 2 2 1 4 4
11 12 13 21
21 20 8 24
1 2 3 4 2 0 4 4 4
11 15 13 14
21 22 23 22
1 4 3 4 1 0 -2 1 3
26 0
9 0
2 -1 0 2 4 -1 8
8 29 6 1
18 15 87 44
1 1 0 1 0 2 4 0 21
8 22 42 1
18 14 49 31
2 1 1 1 0 2 4 0 8
5 12 2 1
4 21 49 4
2 2 2 0 0 2 5 0 8
5 12 2 1
4 23 95 5
4 0 4 1 1 0 -2 0 6
28 -2
9 -1
2 -1 0 2 4 -1 8
8 29 6 1
18 15 162 44
1 1 0 1 0 2 4 0 8
5 12 2 1
4 21 68 4
2 2 2 0 0 2 4 0 8
5 13 2 1
4 38 55 44
2 2 2 1 0 3 5 -1 8
12 2 2 1
4 75 95 44
2 1 4 1 0 2 8 -2 8
8 5 3 1
4 34 000 44
2 1 4 1 0 2 0 1 8
8 5 2 1
4 24 32 62
2 0 4 1 4 2 1 4 4
11 12 13 21
21 20 8 6
1 2 3 4 2 2 4 4 4
11 12 13 6
21 9 12 22
0 3 6 2 2 0 -2 0 6
28 -2
9 -1
2 -1 0 4 4 0 8
5 13 2 1
4 38 55 44
2 2 2 1 0 2 5 -1 8
5 12 2 1
0 21 91 44
0 0 4 2 0 3 5 -1 8
12 2 2 1
4 75 100 44
2 1 4 1 1 2 -1 2 1
21 0
9 0
2 1 0 2 4 0 5
5 12 5 2
0 49 49 83
2 1 2 0 0 4 4 0 8
5 12 2 1
7 21 68 4
2 2 2 0 0 3 5 -1 8
5 12 2 1
0 21 91 44
0 0 4 2 0 3 5 -1 8
12 2 2 1
4 75 100 14
2 1 4 1 0 2 4 -2 4
8 14 12 11
22 5 5 65
1 4 2 4 1 2 4 -2 8
8 14 30 1
26 24 49 44
1 1 3 1 0 2 6 -1 8
2 22 15 1
17 15 14 44
2 1 2 1 0 2 7 2 4
14 12 7 24
18 25 23 67
0 2 3 2 0 2 6 -1 16
8 0 21 0
18 25 30 46
1 1 4 1 1 2 4 -2 8
8 14 30 1
26 24 35 44
1 1 3 1 0 2 0 1 8
8 5 2 1
4 24 96 62
4 0 8 1 0 1 6 -1 4
15 51 10 1
18 15 31 33
0 0 2 1 2 0 -2 -1 3
43 0
9 0
2 -2 0 4 4 0 8
5 24 1 1
4 38 91 44
2 3 2 1 0 2 0 -1 8
12 2 1 1
4 75 100 14
2 1 4 1 4 2 1 2 4
11 12 13 21
21 1 8 12
1 3 2 4
25 12 74 25
 12
 72
 20
 11
 50
 7
 52
 3
 6
 9
 48
 19
 10
 58
 8
 13
 60
 64
 15
 75
 27
 62
 71
 93
 139
 16
 74
 22
 21
 54
 88
 17
 4
 24
 43
 44
 59
 163
 157
 73
 117
 53
 101
 56
 18
 49
 200
 120
 187
 144
 14
 69
 66
 23
 5
 82
 2
 97
 105
 102
 140
 55
 79
 29
 26
 131
 80
 70
 118
 28
 206
 89
 99
 214
 78
 94
 98
 68
 30
 141
 135
 219
 32
 132
 100
 156
 189
 87
 123
 61
 92
 76
 109
 158
 33
 45
 177
 175
 90
