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

Q: [1363, 'O', 'u', '3885', 'y', '2105', '1495', '417', 'n', 9057, 2977], ['x', 'X', '3885', 'y', '2105', '1495', '417', 'X', 2883]

A: 3885, y, 2105, 1495, 417
****
Q: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']

A: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B
****
Q: [7181, 6287, 'V', 9293, 7489, '6703', '2537', 'O', 'C', '2999', 'a', '5613', 'i', '3887', 'G', 'v', 'O', 'B', 'h', 'J', 'H', 9029, 3909, 6817, 6201, 'v', 'N'], [9097, 2175, 4103, 'X', 7441, 'G', 'G', 'x', 's', 8039, 6935, 8571, '6703', '2537', 'O', 'C', '2999', 'a', '5613', 'i', '3887', 'G', 'v', 'O', 'B', 'h', 'F', 9137, 'H', 9405, 'D', 1283]

A:
6703, 2537, O, C, 2999, a, 5613, i, 3887, G, v, O, B, h
****