PROGRAMMING:partner
Recently, the program community has begun to "make a maker" - to develop a "digital game for finding partners" with programs. This companion game divides players into groups A and B. Each player in each group can get a number.
The rules of the game are as follows: each person's number in group A and each person's number in group B are "number paired" - that is, the addition operation. If the result of the operation happens to be the number of other players in group B, then the game can accumulate a score, which is the "coincident" number in group B. Of course, there may be more than one "coincidental" number in group B, and the game is allowed to accumulate again.
For example, if the number "coincidentally" after the addition operation is 3, and there are two players in group B holding this number, then this group can get 6 points.
You are one of the game developers. You need to quickly calculate the final score of the game.
###Input format:
The first line has two numbers, N and m, which represent the number of people in group A and group B respectively.
In the second line, there are n integers AI, and there is a space between each integer to represent the number in the hands of N players.
In the third line, there are m integers Bi, and there is a space between each integer to represent the number of M players.
###Output format:
There is only one line, a number s, indicating the final score of the game.
###Input sample 1:
```in
3 3
3 5 6
2 7 4
```
###Output sample 1:
```out
fourteen
```
Example description:
The players with "3" in group a match with three players in group B. when they meet 4, they find that there is a coincident number "7" in group B;
The players with "5" in group A and the three players in group B are "number paired". After the addition of 2, it is found that there is a coincidental number "7" in group B;
When the players with "6" in group A and the three players in group B conduct "number pairing", no matter who the number is added with, no coincident number is found in group B;
So the final result is: 7 + 7 = 14.
###Input sample 2:
```
3 3
2 5 2
6 8 8
```
###Output sample 2:
```
thirty-two
```
Example description:
The first player in group a holds the number "2" and scores 8 + 8 in "number matching" with group B;
The second player in group a holds the number "5". When he matches the number with group B, the score is 0;
The third player in group a holds the number "2" and scores 8 + 8 in "number matching" with group B;
Therefore, the final score is 8 + 8 + 8 + 8.
[data scale]
30% data, 1 < = n, m < = 3, 1 < = AI, Bi < = 100
50% data, 1 < = n, m < = 100, 1 < = AI, Bi < = 100
70% data, 1 < = n, m < = 10000, 1 < = AI, Bi < = 100
100% data, 1 < = n, m < = 100000, 1 < = AI, Bi < = 100 < br > < br > < br > < br > < br > Data
answer:If there is no answer, please comment
The rules of the game are as follows: each person's number in group A and each person's number in group B are "number paired" - that is, the addition operation. If the result of the operation happens to be the number of other players in group B, then the game can accumulate a score, which is the "coincident" number in group B. Of course, there may be more than one "coincidental" number in group B, and the game is allowed to accumulate again.
For example, if the number "coincidentally" after the addition operation is 3, and there are two players in group B holding this number, then this group can get 6 points.
You are one of the game developers. You need to quickly calculate the final score of the game.
###Input format:
The first line has two numbers, N and m, which represent the number of people in group A and group B respectively.
In the second line, there are n integers AI, and there is a space between each integer to represent the number in the hands of N players.
In the third line, there are m integers Bi, and there is a space between each integer to represent the number of M players.
###Output format:
There is only one line, a number s, indicating the final score of the game.
###Input sample 1:
```in
3 3
3 5 6
2 7 4
```
###Output sample 1:
```out
fourteen
```
Example description:
The players with "3" in group a match with three players in group B. when they meet 4, they find that there is a coincident number "7" in group B;
The players with "5" in group A and the three players in group B are "number paired". After the addition of 2, it is found that there is a coincidental number "7" in group B;
When the players with "6" in group A and the three players in group B conduct "number pairing", no matter who the number is added with, no coincident number is found in group B;
So the final result is: 7 + 7 = 14.
###Input sample 2:
```
3 3
2 5 2
6 8 8
```
###Output sample 2:
```
thirty-two
```
Example description:
The first player in group a holds the number "2" and scores 8 + 8 in "number matching" with group B;
The second player in group a holds the number "5". When he matches the number with group B, the score is 0;
The third player in group a holds the number "2" and scores 8 + 8 in "number matching" with group B;
Therefore, the final score is 8 + 8 + 8 + 8.
[data scale]
30% data, 1 < = n, m < = 3, 1 < = AI, Bi < = 100
50% data, 1 < = n, m < = 100, 1 < = AI, Bi < = 100
70% data, 1 < = n, m < = 10000, 1 < = AI, Bi < = 100
100% data, 1 < = n, m < = 100000, 1 < = AI, Bi < = 100 < br > < br > < br > < br > < br > Data
answer:If there is no answer, please comment