In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
One example is below.
Q: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
A: 8297, b
Rationale: 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: [4659, 3213, 'V', 7991, 4833, 'K', 2125, 7669, 'Z', 'W', '2521', 'n', '9985', 'Y', 'p', 's', 'Y', 'Y', 'W', 'd', 'w', '3225', 'c', '9753', 'H', '6205', 'X', 'k', 'G', 'q', '5207', '4077', 'V', 'i', 'e', 5439, 'k', 'p', 8429, 'U', 2307, 2345, 3949, 'm', 'Y', 5231, 9837, 'u', 'V', 'Z', 'R', 1111, 6527, 'j', 7417, 2809, 'X'], [4319, 'p', 'G', 5379, 3649, 'Z', 'W', '2521', 'n', '9985', 'Y', 'p', 's', 'Y', 'Y', 'W', 'd', 'w', '3225', 'c', '9753', 'H', '6205', 'X', 'k', 'G', 'q', '5207', '4077', 'V', 'i', 'w', 2405, 'x', 1537, 'I', 7213, 7033, 2461, 'T', 6019, 8889, 1759, 8487, 'G', 'K', 7719, 7603]
A:
Z, W, 2521, n, 9985, Y, p, s, Y, Y, W, d, w, 3225, c, 9753, H, 6205, X, k, G, q, 5207, 4077, V, i