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

Q: [8507, 'H', 'o', 'N', 'r', 'I', 3733, 'r', 6877, 5193, 1389, 7105, '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'x', 3575, 'A', 7405, 'o', 'J', 6163, 'y', 'O', 'g', 7633, 'A', 6531, 4627, 'P', 'O', 'j', 'S', 'b', 'c', 'V', 7923, 'K', 'i', 5625, 893, 'V'], ['W', 'O', 6909, 'a', 1667, 'n', 'D', 'i', 7719, 4109, 4167, 4099, 5473, 'b', 'g', 'R', '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'h', 'Z', 383, 2829, 5461, 1851, 'F', 'l', 981, 6545, 'v', 7707, 'W', 675, 'V', 'C', 599, 'd', 1967, 'X', 'y', 'B', 'K']

A: 8513, A, 5801, M, 1339, 6353, C, 3591, W, 7703, D, i, 1975, 9169, 7427, 8345, l, C, C, d, 7579, 1463, 8451, H, K, u, 8561
****
Q: ['n', 137, 'q', 'Q', 10017, 2119, 'g', 8921, 'L', 'A', 'c', 'U', 7067, 'P', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'N', 4975, 'w', 4937, 9409, 2427, 'n', 7733, 'o', 3717, 141, 'e', 'z', 'X', 'c', 'q', 6443, 'W', 'Q', 'j', 7043, 1977], ['I', 9, 5027, 3147, 1945, 6141, 'u', 2685, 2253, 8359, 'z', 4431, 8465, 3145, 'k', '7789', 'O', 'H', 'h', 'T', 'C', '9427', 'b', '4887', '7659', 'i', 'q', '8123', '7571', '8653', '4961', 'W', 'K', '6323', 'm', '9669', '4821', '6503', 'M', 'B', 'N', 8081, 'W', 'H', 'A', 'w', 'j', 661, 'D', 8029, 49, 'y', 6639, 829, 771, 9575, 7371]

A: 7789, O, H, h, T, C, 9427, b, 4887, 7659, i, q, 8123, 7571, 8653, 4961, W, K, 6323, m, 9669, 4821, 6503, M
****
Q: [4775, 8921, 'j', 'R', 4929, 'G', 7819, 'e', 3245, 5771, 8363, 'Q', 'y', 7801, 'N', '7401', '1473', '8497', 'E', '1119', '2687', '6853', 'G', 'f', '2341', '7947', 'O', '2283', '4387', 'E', '7913', 'l', 'v', '8929', 'b', 'R', 's', '6367', '3181', '5645', 'U', '3271', 'V', 5099, 'I', 8675, 4831, 'u', 7819, 't', 7441, 'Y', 3441, 'p', 6689, 3535, 'D', 2843, 6943, 7129, 'K', 911, 'B', 'G'], [6037, 'q', '7401', '1473', '8497', 'E', '1119', '2687', '6853', 'G', 'f', '2341', '7947', 'O', '2283', '4387', 'E', '7913', 'l', 'v', '8929', 'b', 'R', 's', '6367', '3181', '5645', 'U', '3271', 'U', 7485, 4837]

A:
7401, 1473, 8497, E, 1119, 2687, 6853, G, f, 2341, 7947, O, 2283, 4387, E, 7913, l, v, 8929, b, R, s, 6367, 3181, 5645, U, 3271
****