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

Q: [5231, 5685, 9687, 3613, 75, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'B', 'P', 'j', 'n', 5543, 6907, 9665, 4635, 'K', 'b', 4577, 'n', 4119, 'C'], [1147, 'Z', 'G', 9027, 'q', 'p', 'b', 'l', 'W', 'J', 1599, 'y', 6833, '6685', 'G', 'q', 'F', 'X', '5671', 'r', '2785', 'V', '6491', 'd', 'N', '6803', 'P', 'M', 'H', 6089, 'w']

A: 6685, G, q, F, X, 5671, r, 2785, V, 6491, d, N, 6803, P, M
****
Q: ['U', 3417, 5169, 'r', 's', 2909, 3363, 'x', 8463, 9703, 3041, 'e', 4997, 1689, 'Y', 'y', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'G', 2185, 'I', 'D', 'U', 2889, 6837, 'B', 'x', 2775, 'I', 3053, 1801], [525, 'd', 'K', 'T', '53', '8895', '1117', '4025', 'v', '1689', 'e', 'V', 'k', '2673', '5425', 'c', 'p', '8235', 'Q', 'z', 9959, 'H', 1865, 'M', 8529]

A: T, 53, 8895, 1117, 4025, v, 1689, e, V, k, 2673, 5425, c, p, 8235, Q
****
Q: [5317, 755, '3803', '7381', 'F', '3211', 'C', 'x', '9677', '4533', 'o', '969', 'Z', '1973', 'J', '7813', 'G', 'w', '4619', '7909', 'B', 'D', '5891', 'n', 'o', 6983, 7877], ['v', 1977, 'j', 1543, 9683, 'H', '3803', '7381', 'F', '3211', 'C', 'x', '9677', '4533', 'o', '969', 'Z', '1973', 'J', '7813', 'G', 'w', '4619', '7909', 'B', 'D', '5891', 't', 'I', 'X', 1315, 7455, 'P', 39, 6235, 'g', 'z']

A:
3803, 7381, F, 3211, C, x, 9677, 4533, o, 969, Z, 1973, J, 7813, G, w, 4619, 7909, B, D, 5891
****