PROGRAMMING:Collective application 3
Input the list of class A and class B and make the following statistics.
###Input format:
Line 1: class a list, a string of characters, each character represents a student, separated by one or more spaces, there may be repeated characters. Numbers for boys and letters for girls.
Line 2: B class list, a string, each character represents a student, separated by one or more spaces, there may be repeated students. Numbers for boys and letters for girls.
Line 3: students participating in the math contest, a string of characters, with each student's name separated by one or more spaces.
Line 4: students participating in the computer contest, a string, each student's name separated by one or more spaces.
###Output format:
Note: when outputting the personnel list, you need to call the sorted function. If the set is x, then print (sorted (x)).
Output the list and number of all the staff of the two classes.
Output two classes in mathematics or computer contest all the list and number.
Output the list and number of boys who did not participate in the competition in the two classes.
Output the list of two classes that only take part in computer or math competition.
###Input example:
Here is a set of inputs. For example:
```in
1 2 3 4 a s d f
6 7 8 9 6 5 z x c
2 3 a s 8 9 z
1 3 4 s d 5 9 x z
```
###Output example:
The corresponding output is given here. For example:
```out
Total: ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'c', 'd', 'f', 's', 'x', 'z'], num: 16
All racers: ['1', '2', '3', '4', '5', '8', '9', 'a', 'd', 's', 'x', 'z'], num: 12
Male not in race: ['6', '7'], num: 2
ACM Or English: ['1', '2', '4', '5', '8', 'a', 'd', 'x']
```
answer:If there is no answer, please comment
###Input format:
Line 1: class a list, a string of characters, each character represents a student, separated by one or more spaces, there may be repeated characters. Numbers for boys and letters for girls.
Line 2: B class list, a string, each character represents a student, separated by one or more spaces, there may be repeated students. Numbers for boys and letters for girls.
Line 3: students participating in the math contest, a string of characters, with each student's name separated by one or more spaces.
Line 4: students participating in the computer contest, a string, each student's name separated by one or more spaces.
###Output format:
Note: when outputting the personnel list, you need to call the sorted function. If the set is x, then print (sorted (x)).
Output the list and number of all the staff of the two classes.
Output two classes in mathematics or computer contest all the list and number.
Output the list and number of boys who did not participate in the competition in the two classes.
Output the list of two classes that only take part in computer or math competition.
###Input example:
Here is a set of inputs. For example:
```in
1 2 3 4 a s d f
6 7 8 9 6 5 z x c
2 3 a s 8 9 z
1 3 4 s d 5 9 x z
```
###Output example:
The corresponding output is given here. For example:
```out
Total: ['1', '2', '3', '4', '5', '6', '7', '8', '9', 'a', 'c', 'd', 'f', 's', 'x', 'z'], num: 16
All racers: ['1', '2', '3', '4', '5', '8', '9', 'a', 'd', 's', 'x', 'z'], num: 12
Male not in race: ['6', '7'], num: 2
ACM Or English: ['1', '2', '4', '5', '8', 'a', 'd', 'x']
```
answer:If there is no answer, please comment