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

Q: ['n', 'D', 'w', 3835, 'T', 'B', 677, 'V', 'K', 'C', 2925, 'K', 'm', 1053, 'f', 4037, 7659, '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'g', 9107, 'A', 'T', 'W', 'A', 'j', 'f', 'v', 9021, 'j', 't', 'B', 8145, 'H', 3749], [949, 5165, 1491, 2995, 6041, 'd', 8225, 3907, 483, 7773, 'E', 105, 4839, 4595, 'y', 10009, 'M', 2851, 9681, 5135, 9105, 4887, 9939, 'N', 'k', 'h', '65', '9985', '867', 'F', '8953', 't', 'Q', '4985', 'G', '4695', '1083', '6045', '1075', '5633', '8053', '1711', 'W', 'n', 'N', 'x', 'P', 'g', 'Y', 'j', '6411', 'x', 'n', '8627', 'y', 'R', 'E', 'x', 6219, 7421, 'y', 4757, 9359, 'P', 5909, 7819, 3069, 6985, 9497, 2897, 5345, 8961, 3143, 9975]

A: 65, 9985, 867, F, 8953, t, Q, 4985, G, 4695, 1083, 6045, 1075, 5633, 8053, 1711, W, n, N, x, P, g, Y, j, 6411, x, n, 8627, y
****
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: [3043, 9479, 's', 'Z', 'Y', '6117', '3001', '2153', '6547', '8501', '5981', 'q', 'G', 'd', '1653', 'C', 'k', 'T', '5167', '4977', '2147', 'i', 'm', '5263', '4305', '4099', 'Z', '2741', '3947', 'n', '1685', 'P', 3371, 4675, 4699, 2435, 'N', 3187, 5931, 3845, 2251, 9887, 5343, 'D', 7391, 1835, 317, 2493, 'Q', 9687, 3067, 'D', 8175, 7403, 'u', 'i'], [1397, 6961, 6883, 'l', 7279, 'U', 'n', 9081, 'S', 4213, 'a', 5069, 'k', 8587, 'y', 'O', 6199, '6117', '3001', '2153', '6547', '8501', '5981', 'q', 'G', 'd', '1653', 'C', 'k', 'T', '5167', '4977', '2147', 'i', 'm', '5263', '4305', '4099', 'Z', '2741', '3947', 'n', '1685', 'y', 1691, 6991, 'F', 'Z', 'W', 'N', 4929, 'c', 807, 4543, 'z', 783, 8173, 9227, 'q', 3975, 'y']

A:
6117, 3001, 2153, 6547, 8501, 5981, q, G, d, 1653, C, k, T, 5167, 4977, 2147, i, m, 5263, 4305, 4099, Z, 2741, 3947, n, 1685
****