Given the task definition, example input & output, solve the new input case.
In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Example: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Output: 8297, b
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'].

New input case for you: [9587, 'k', 'w', 4647, 7371, 5163, 9923, 'a', 'K', 'D', '4345', '5527', 'g', '6665', 'L', 'N', '3077', '5331', 'b', '5205', 'C', 'B', 'F', 'Z', '425', 'k', 'm', '6157', 'y', 'r', '6051', 'K', 'U', 'S', 4259, 5311, 9703, 'B', 'h', 5585, 6879, 'T', 'g', 2593, 'R', 5095, 1203, 'z', 9011, 'u', 'a', 'r', 8737], ['n', 9147, 4901, 'u', 367, 6761, 'x', 1885, 4495, 7631, 2929, 't', 8783, 8245, 'J', 3557, 3319, 'a', 8179, 's', 'a', 'K', 'D', '4345', '5527', 'g', '6665', 'L', 'N', '3077', '5331', 'b', '5205', 'C', 'B', 'F', 'Z', '425', 'k', 'm', '6157', 'y', 'r', '6051', 'K', 'U', 'Z', 4097, 'J', 'I', 'l', 8111, 'n', 1115, 'o', 8535, 1993, 'X']
Output:
a, K, D, 4345, 5527, g, 6665, L, N, 3077, 5331, b, 5205, C, B, F, Z, 425, k, m, 6157, y, r, 6051, K, U