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

Q: [7855, 367, 8647, 9917, 9089, 'U', 5329, 'V', 9419, 3843, 'M', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'D', 'D', 7465, 'M', 'T', 3699, 'b', 8885, 'L', 'k'], ['p', 9677, 'R', 23, 1797, 2241, 4425, 1705, 'Z', 'C', 2803, 'S', 'N', 911, 567, 2169, 'k', '7745', 'N', 'B', 'm', 'V', 'q', '449', '7315', 'd', '4821', '1535', '2733', '713', '9271', 'Y', '5605', '8443', '6643', 'K', 'W', 'J', 3419]

A: 7745, N, B, m, V, q, 449, 7315, d, 4821, 1535, 2733, 713, 9271, Y, 5605, 8443, 6643, K
****
Q: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]

A: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e
****
Q: [3205, 2999, 8597, '2427', 'E', '873', '9361', 'x', '5305', 'd', 'y', '1669', '10001', '4869', '5689', 'm', 'M', '9', 's', 'm', 'z', '7611', '9573', 'z', 'd', 'F', '3077', 'z', '4237', '2735', 'v', '8683', '47', 'R', 'k', 'E', 5345, 1443, 1425, 2817, 4763, 'E', 'g'], ['y', 5829, 'Q', 8105, 'v', '2427', 'E', '873', '9361', 'x', '5305', 'd', 'y', '1669', '10001', '4869', '5689', 'm', 'M', '9', 's', 'm', 'z', '7611', '9573', 'z', 'd', 'F', '3077', 'z', '4237', '2735', 'v', '8683', '47', 'M', 2101, 'H', 'f', 'b', 'I', 6743, 893, 'H', 'X', 1593, 'X', 'B', 1273, 4099, 4741, 9373]

A:
2427, E, 873, 9361, x, 5305, d, y, 1669, 10001, 4869, 5689, m, M, 9, s, m, z, 7611, 9573, z, d, F, 3077, z, 4237, 2735, v, 8683, 47
****