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

Q: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']

A: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955
****
Q: ['q', 6247, 7691, 'M', 'i', 3857, 'J', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'a', 8713, 'a', 2717, 'y', 'l', 't', 1815, 9507, 1713, 'N'], ['Z', 7463, 6215, 'r', 43, 'h', 3841, 9317, 'J', 'x', 6735, 'b', '249', 'j', '3315', 'Y', 'q', 'K', 'B', 'h', 'M', 'i', '3947', '8559', '1833', 'q', 'x', '1469', '7579', '421', 'F', 'y', 'c', '9043', 'r', 'N', 'O', 'N', 'Z', 'Q', 'c', 'B', 9989, 'd', 875, 1185, 7121, 5559, 'k', 2289]

A: 249, j, 3315, Y, q, K, B, h, M, i, 3947, 8559, 1833, q, x, 1469, 7579, 421, F, y, c, 9043, r, N, O, N, Z
****
Q: [3359, 'v', 3297, 'h', 1925, 9249, 'c', 425, 'S', 5267, 8619, 's', 1377, 'F', 'm', 'M', '1733', 'a', '9771', '1477', 'C', 'S', 'O', '4041', '9751', '717', 'T', '2021', 's', 'c', '4757', '1331', 'L', 1145, 7121, 4701, 2239, 'V', 639, 's', 'Y', 1935, 6231, 9461, 'i', 3959, 'E', 1823], [8557, 'A', 1125, 1329, 5389, 'x', 'K', 'n', 8027, 'M', '1733', 'a', '9771', '1477', 'C', 'S', 'O', '4041', '9751', '717', 'T', '2021', 's', 'c', '4757', '1331', 'B', 5039, 'v', 287, 'n', 'k', 507, 'R', 7557, 'a', 551, 'G', 'V', 2745, 'S', 6581]

A:
M, 1733, a, 9771, 1477, C, S, O, 4041, 9751, 717, T, 2021, s, c, 4757, 1331
****