PROGRAMMING:JMU Python class staff information statistics
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, no space, there may be repeated characters.
Line 2: Class B list, a string, each student name separated by one or more spaces, there may be duplicate students.
Line 3: students participating in ACM competition, a string of characters, each student's name separated by one or more spaces.
Line 4: students participating in the English competition, a string, each student's name separated by one or more spaces.
Line 5: transfer (only 1 person).
###Output format
**Special note: * when outputting the personnel list, you need to call the sorted function. If the set is x, then print (sorted (x))
Output the number of all personnel in two classes
Output the list and number of two classes that did not participate in ACM or English
Output the list and number of all participants
Output all the personnel and number who participated in ACM and English competition
Output the list of all the people who participated in ACM but did not participate in English competition
Output the list of all the people who participated in English competition but did not participate in ACM
Output the list of people who only participate in ACM or English competition
The last line: if a student wants to transfer, he needs to determine which class the student is in first, then update the class list and output it. If not in any class, do nothing.
###Input example:
```in
abcdefghijab
1 2 3 4 5 6 7 8 9 10
1 2 3 a b c
1 5 10 a d e f
a
```
###Output example:
```out
Total: 20
Not in race: ['4', '6', '7', '8', '9', 'g', 'h', 'i', 'j'], num: 9
All racers: ['1', '10', '2', '3', '5', 'a', 'b', 'c', 'd', 'e', 'f'], num: 11
ACM + English: ['1', 'a'], num: 2
Only ACM: ['2', '3', 'b', 'c']
Only English: ['10', '5', 'd', 'e', 'f']
ACM Or English: ['10', '2', '3', '5', 'b', 'c', 'd', 'e', 'f']
['b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']
```
answer:If there is no answer, please comment
###Input format:
Line 1: class a list, a string of characters, each character represents a student, no space, there may be repeated characters.
Line 2: Class B list, a string, each student name separated by one or more spaces, there may be duplicate students.
Line 3: students participating in ACM competition, a string of characters, each student's name separated by one or more spaces.
Line 4: students participating in the English competition, a string, each student's name separated by one or more spaces.
Line 5: transfer (only 1 person).
###Output format
**Special note: * when outputting the personnel list, you need to call the sorted function. If the set is x, then print (sorted (x))
Output the number of all personnel in two classes
Output the list and number of two classes that did not participate in ACM or English
Output the list and number of all participants
Output all the personnel and number who participated in ACM and English competition
Output the list of all the people who participated in ACM but did not participate in English competition
Output the list of all the people who participated in English competition but did not participate in ACM
Output the list of people who only participate in ACM or English competition
The last line: if a student wants to transfer, he needs to determine which class the student is in first, then update the class list and output it. If not in any class, do nothing.
###Input example:
```in
abcdefghijab
1 2 3 4 5 6 7 8 9 10
1 2 3 a b c
1 5 10 a d e f
a
```
###Output example:
```out
Total: 20
Not in race: ['4', '6', '7', '8', '9', 'g', 'h', 'i', 'j'], num: 9
All racers: ['1', '10', '2', '3', '5', 'a', 'b', 'c', 'd', 'e', 'f'], num: 11
ACM + English: ['1', 'a'], num: 2
Only ACM: ['2', '3', 'b', 'c']
Only English: ['10', '5', 'd', 'e', 'f']
ACM Or English: ['10', '2', '3', '5', 'b', 'c', 'd', 'e', 'f']
['b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j']
```
answer:If there is no answer, please comment