In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Q: ['M', 3439, 'L', 4335, 6965, 'p', 'j', 'j', 8753, 231, 'f', 'f', 9941, 9189, 'G', 'q', 'O', '451', '5171', 'b', '1915', '2877', 'Z', 'J', '2723', 'd', 'l', '5493', '1501', '1815', 'b', '6235', 'F', 'q', 'q', 9571, 'S', 'c', 8839, 8485, 'x', 'g', 499, 6455, 'T', 'r', 2183, 'D'], [9143, 8963, 'X', 'S', 7467, 'C', 2223, 'C', 'm', 'q', 'O', '451', '5171', 'b', '1915', '2877', 'Z', 'J', '2723', 'd', 'l', '5493', '1501', '1815', 'b', '6235', 'F', 'q', 'W', 'j', 685, 'E', 'E', 'm', 4157, 'E']
A: 
q, O, 451, 5171, b, 1915, 2877, Z, J, 2723, d, l, 5493, 1501, 1815, b, 6235, F, q