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

Q: ['K', 9673, 1909, 4297, 4479, 6817, 4899, 'C', 6959, 'V', '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'a', 'M', 'n', 6241, 'm'], ['x', 2703, 'G', 'g', 6139, 369, 'M', 2263, 1539, 8497, '9807', '5503', '4787', '8401', '1975', 'c', '3357', 'O', '2117', 'V', 'W', '223', 'n', '7837', 'J', '7137', '4965', 'O', '9937', 'X', 171, 2305, 2887, 'x', 'M', 557, 9003, 'H', 'V', 'B', 7409]

A: 9807, 5503, 4787, 8401, 1975, c, 3357, O, 2117, V, W, 223, n, 7837, J, 7137, 4965, O, 9937
****
Q: [3539, 6661, 127, 883, 'j', 'i', 9169, 4635, '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'Q', 'H', 'Q', 4829, 'h', 'e', 'L', 6905, 't'], [7275, 1425, 'r', 'G', 'c', 's', 'W', 'L', 'C', 'o', '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'z', 'V', 4703, 'c']

A: 8533, w, B, x, 8345, 1367, 8023, 4489, 5083, A, 2295, 2737
****
Q: [835, 'o', 531, 363, 'j', 'L', 'V', 'P', 'i', 8705, '7955', '5249', '4343', 'V', 'j', 'r', '3177', '7005', 'n', 'G', '7409', '9915', '2413', '651', '5871', '1585', 'I', 'C', 'q', '9909', '219', '5073', '8983', 's', 'i', 9367, 3059, 'm', 1153, 5181, 3695, 'B', 'L', 3519, 2109, 2303, 'Z', 'd', 959, 'o', 791], [6975, 1113, 'i', 'd', 'd', 6991, 8573, 6603, 'y', 't', 'j', 9945, 1215, 5167, 'o', 'l', 7331, 2541, 7595, 'U', 'g', '7955', '5249', '4343', 'V', 'j', 'r', '3177', '7005', 'n', 'G', '7409', '9915', '2413', '651', '5871', '1585', 'I', 'C', 'q', '9909', '219', '5073', '8983', 'C', 8383, 'Q', 'E', 'Y', 9343, 9843, 's']

A:
7955, 5249, 4343, V, j, r, 3177, 7005, n, G, 7409, 9915, 2413, 651, 5871, 1585, I, C, q, 9909, 219, 5073, 8983
****