In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
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