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

Q: ['T', 'L', 9743, 2463, 945, 'n', 'z', '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'Y', 4345, 3947], [9937, 7577, '1331', '7235', '8333', 'a', '4137', 'b', '9779', 'z', 6129, 1469, 3001]

A: 1331, 7235, 8333, a, 4137, b, 9779
****
Q: [4731, 'z', 8923, 1325, 'P', 8435, 'u', 'B', 'N', 8191, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'O', 'H', 9453], [4977, 'E', 4865, 'O', '3019', '4077', 'w', 'W', 'x', 'z', '2233', '6509', 'N', '3069', '5471', 'K', 'x', 'q', '979', 'M', 'R', 'T', 7065]

A: O, 3019, 4077, w, W, x, z, 2233, 6509, N, 3069, 5471, K, x, q, 979, M
****
Q: ['T', 7319, '6537', 'U', 'o', 8755], [3327, 't', '6537', 'U', 'U', 3269]

A:
6537, U
****