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

Q: ['L', 1653, 4833, 3597, 'B', 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'K', 4721, 'L', 'H', 'F', 'y', 2849], [9635, 3451, 'A', 'g', '6735', '6737', '6929', '3051', 'v', '1223', '497', 'd', 'f']

A: A, g, 6735, 6737, 6929, 3051, v, 1223, 497
****
Q: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]

A: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w
****
Q: [1017, 'L', 'T', 'Z', 'H', 6119, 'i', 'O', 'x', 3415, 2397, 6907, 1589, '8933', 'B', '105', 'c', '7905', 'I', '6667', '7169', 'U', 'r', '9783', 'U', 'w', '7361', 'F', 'R', '4691', 'y', '9469', 'R', '2169', 'a', 5675, 9205, 7497, 1355, 'Y', 'C', 'c', 4471, 1175, 'z', 'Y', 'X', 7961, 4687], ['N', 'L', 479, 5655, 1993, 7577, 's', 7261, '8933', 'B', '105', 'c', '7905', 'I', '6667', '7169', 'U', 'r', '9783', 'U', 'w', '7361', 'F', 'R', '4691', 'y', '9469', 'R', '2169', 'I', 'Z', 'a', 3165, 'r', 9797]

A:
8933, B, 105, c, 7905, I, 6667, 7169, U, r, 9783, U, w, 7361, F, R, 4691, y, 9469, R, 2169
****