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

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: [7937, 'O', 't', 'q', 'A', '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'P', 9541, 'K', 'P', 'I', 'd', 2929, 3037, 's', 'o'], [5771, 'e', 6539, 3301, 7501, 1959, 2737, 'W', 347, 'S', 'A', 7789, 1561, 'G', 's', 1703, '5875', '3561', '2131', 'L', '9023', 'A', '4107', 'Y', 'h', 'A', '8649', '6349', 'S', '1841', 'X', 'Y', '8859', '2327', 'x', '6845', 'C', 4525, 2207, 8867, 'D', 'c', 9997, 'f', 'E', 'd', 2503, 527, 's', 'Q', 'Y', 'R', 4405, 'a']

A: 5875, 3561, 2131, L, 9023, A, 4107, Y, h, A, 8649, 6349, S, 1841, X, Y, 8859, 2327, x, 6845
****
Q: ['q', 's', 1185, 'v', 6949, 8309, 4831, 6401, 9391, 2697, 'U', 4921, 'K', 9351, 1071, 9617, 'h', 'X', 'f', 4209, 5429, '2813', '1659', 'W', 'W', 'f', 'J', 'n', '5599', '1465', '9181', 'J', 'Q', 'U', '9089', 'v', '825', '2191', '1361', 'x', '6851', 'V', 'o', '5425', '6401', '1541', '7459', 'O', 'e', 'N', 5725, 2295, 'L', 7847, 'G'], [9963, 'F', 8117, 'j', '2813', '1659', 'W', 'W', 'f', 'J', 'n', '5599', '1465', '9181', 'J', 'Q', 'U', '9089', 'v', '825', '2191', '1361', 'x', '6851', 'V', 'o', '5425', '6401', '1541', '7459', 'O', 'e', 'Y', 6997, 3277, 'a', 'R', 1049, 'u', 'V', 'B', 3043, 'j', 7899, 'W', 6893, 'R', 2265, 'C', 6173, 6583, 2365, 'J', 'D']

A:
2813, 1659, W, W, f, J, n, 5599, 1465, 9181, J, Q, U, 9089, v, 825, 2191, 1361, x, 6851, V, o, 5425, 6401, 1541, 7459, O, e
****