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

Q: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']

A: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383
****
Q: ['s', 5215, 'X', 4785, 6947, 5893, 7053, 't', 5871, 'k', 1691, 'Z', 2873, 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 't', 'X', 'A', 'W', 5429, 8573, 'F', 'G', 'm', 's', 167, 9123, 6207, 9613, 2093, 'V', 3531], [5343, 'Y', 'l', 'V', 8421, 3519, 5427, 'E', 'S', 'J', '887', '247', 't', '7731', '8425', '3371', 'o', '5243', '8871', '2477', 'E', 'w', 'D', 'r', '8971', 'J', '549', 'z', 'R', 'l', 1275, 5871, 9461, 2255, 'K', 6005, 3441, 4125, 2315, 'R', 7447, 4823, 785]

A: J, 887, 247, t, 7731, 8425, 3371, o, 5243, 8871, 2477, E, w, D, r, 8971, J, 549
****
Q: [4455, 'Z', '5477', '7049', '5519', 'c', '829', '535', 'L', 's', '1037', 'X', 'o', '7847', 'C', '7217', '7097', 'q', '8795', 'T', 6941, 'E', 'T', 6251, 'a', 'c', 8399, 'T', 'C', 'K', 9889, 4987, 't'], [1551, 969, 'W', 'x', 4191, 'c', 's', 'r', 5183, 'a', 2381, 7933, 723, 2427, 'N', 7155, 2415, '5477', '7049', '5519', 'c', '829', '535', 'L', 's', '1037', 'X', 'o', '7847', 'C', '7217', '7097', 'q', '8795', 'N', 3187, 753, 4483, 2313, 8525, 5435, 'G', 1901, 9087, 'V']

A:
5477, 7049, 5519, c, 829, 535, L, s, 1037, X, o, 7847, C, 7217, 7097, q, 8795
****