Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['o', 'c', 1589, 7873, 3377, 4581, 'p', 407, 'v', 'e', 'v', 'J', 5175, 8657, 997, '2307', '7965', 'q', '5389', 'e', 'n', '5279', 'p', '5247', 'k', 'f', '1853', 'o', 'T', 'm', 'B', '8301', 'u', 'q', 'M', '1439', '7959', '9847', '621', 'Y', '8309', '10015', '7679', 'K', '6939', 'k', 'w', 3237, 6487, 2083, 'z', 7009, 'P', 'B', 'g', 7153, 'n', 'D', 1223, 'Q', 1699, 631, 'Z', 131, 2991, 737, 853, 'S', 'N', 'k', 'i', 1235, 'c'], [1991, 4073, 's', 'N', 'B', 'H', 2769, 4611, 'F', 8851, 'x', 'n', 'D', '2307', '7965', 'q', '5389', 'e', 'n', '5279', 'p', '5247', 'k', 'f', '1853', 'o', 'T', 'm', 'B', '8301', 'u', 'q', 'M', '1439', '7959', '9847', '621', 'Y', '8309', '10015', '7679', 'K', '6939', 'W', 'N', 'B', 6931]
A:
2307, 7965, q, 5389, e, n, 5279, p, 5247, k, f, 1853, o, T, m, B, 8301, u, q, M, 1439, 7959, 9847, 621, Y, 8309, 10015, 7679, K, 6939