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

Q: ['H', 9227, 9923, 7577, 8169, 'k', 'B', 'L', 6329, '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'Y', 'M', 7749, 'm', 4159, 'C', 3319, 9363, 2283, 'm', 4571, 'e'], ['u', 'Z', 'r', 1503, 'G', 9799, 'z', 'F', 'b', 'N', '4183', '5427', '255', 'Y', 'C', 'g', 'I', 'J', '6847', 'D', '2735', 'X', 'J', 7431, 3855, 4535, 6657, 8809, 7885, 'U', 1753, 3423]

A: 4183, 5427, 255, Y, C, g, I, J, 6847, D, 2735, X
****
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: [9489, 'e', '373', 'k', 'M', '2745', 'Z', '2917', 'L', '7431', 'M', 'j', '7941', 'l', 'W', 'S', 'z', 6331, 6239, 5683, 'h', 1285, 'W', 'H'], [5891, 'E', 'D', 'k', 'l', 's', '373', 'k', 'M', '2745', 'Z', '2917', 'L', '7431', 'M', 'j', '7941', 'N', 'Q', 5767, 'E', 3851, 2003, 'C']

A:
373, k, M, 2745, Z, 2917, L, 7431, M, j, 7941
****