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

Q: [1925, 1033, 'n', 1719, 1863, 9415, 'D', 8649, 's', 1653, 'V', 4263, 7099, 1825, 4487, 'G', 6067, 1553, 2517, '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 'z', 8647, 9547, 'W', 7287, 7347, 'N', 'n', 'T', 5997, 4799, 'V', 'H', 4561, 'B', 2887, 9375, 3029, 'Y', 'x', 'J'], [6377, 'o', '7743', '3161', 'X', '5815', '8019', '7445', 'H', 'g', '3451', '7313', 'j', 'v', '8927', '1115', 'b', 't', '1253', '8603', 'p', 'p', 'c', 'i', '8035', 'Z', 'Z', '3931', '4321', 'q', '2639', 'S', 't', 'c', 7365, 3141, 5971, 6183, 'H', 3775, 'o', 2757, 9621, 'g', 'g', 1713, 'M', 9787, 5173, 9745, 'J', 'N', 8953, 'K', 1443, 'w', 8793, 9963, 6383, 3985, 9087]

A: 7743, 3161, X, 5815, 8019, 7445, H, g, 3451, 7313, j, v, 8927, 1115, b, t, 1253, 8603, p, p, c, i, 8035, Z, Z, 3931, 4321, q, 2639, S
****
Q: ['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

A: 7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M
****
Q: [6673, 2611, 515, 'C', '9673', 'y', '7935', '11', '2767', '8649', 'o', 'X', '5201', 'C', 'y', 'W', '7111', '1203', '1679', '9667', '5509', 'r', '5519', '5451', 'D', 'J', 5859, 'A', 5007, 'Z', 2569, 'q', 'a', 'C', 'J', 3239, 'c', 'z', 'q', 'X', 1845, 8741], [2099, 'l', 7957, 'C', '9673', 'y', '7935', '11', '2767', '8649', 'o', 'X', '5201', 'C', 'y', 'W', '7111', '1203', '1679', '9667', '5509', 'r', '5519', '5451', 'D', 'L', 4035, 'a', 2497, 9111]

A:
C, 9673, y, 7935, 11, 2767, 8649, o, X, 5201, C, y, W, 7111, 1203, 1679, 9667, 5509, r, 5519, 5451, D
****