Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
See one example below:
Problem: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: [2477, 9529, 'c', 'P', 'e', 'L', 'o', 8923, 's', 1853, 'V', 9819, 2569, 'h', 1143, 'v', 5311, 'K', 6465, 4247, 3237, 'q', '7673', '6017', 'M', '5123', 'U', '9901', 'b', '5409', 'A', '7599', '3585', 'Z', '3433', 'Z', '1433', 'm', 'U', 'E', 'E', '427', '2533', '8121', '1351', '589', 's', 5259, 3689, 'R', 'P'], [3995, 8043, 'Z', 1575, 'e', 9051, 'Y', 'q', '7673', '6017', 'M', '5123', 'U', '9901', 'b', '5409', 'A', '7599', '3585', 'Z', '3433', 'Z', '1433', 'm', 'U', 'E', 'E', '427', '2533', '8121', '1351', '589', 'k', 'k', 8065, 'z']
Solution:
q, 7673, 6017, M, 5123, U, 9901, b, 5409, A, 7599, 3585, Z, 3433, Z, 1433, m, U, E, E, 427, 2533, 8121, 1351, 589