In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example 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'].
Q: [6817, 9325, 'n', 'r', 4179, 7699, 5375, 2503, 9557, 'P', 4999, 'E', 4937, 'O', 1641, 'p', 'd', 'M', 'd', 6971, 7227, 7609, 'M', 8353, 'Z', 'j', '1775', 'C', 'X', 'a', '3053', '2433', 'h', 'A', 't', '8423', '849', 'H', 'S', 'a', '1781', '9899', '789', 'z', 'K', '529', '8905', 'k', '2673', '5571', 'F', '8673', 's', 'T', 'U', 'r'], ['R', 'B', 'K', 8347, 'a', 'b', 9323, 'K', 'o', 8605, 6933, 'e', 'M', 5891, 'L', 4323, 'o', 6967, 6151, 9967, 6373, 'X', 5079, 's', 4395, 'J', 7131, 'j', '1775', 'C', 'X', 'a', '3053', '2433', 'h', 'A', 't', '8423', '849', 'H', 'S', 'a', '1781', '9899', '789', 'z', 'K', '529', '8905', 'k', '2673', '5571', 'F', '8673', 's', 'Y', 7755, 't', 4793, 'q', 8259, 341, 'K', 'z', 'c', 'T', 'X', 'C', 7245, 5539, 'l', 'b', 235, 6037, 1471]
A:
j, 1775, C, X, a, 3053, 2433, h, A, t, 8423, 849, H, S, a, 1781, 9899, 789, z, K, 529, 8905, k, 2673, 5571, F, 8673, s