In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 5595, 'v', 'e', 7797, 6767, 1833, 'Q', 's', 'e', 'z', 'j', '7109', '3605', 'f', '5171', '3033', '8749', 'v', 'W', 'w', '5767', 'O', 'a', '9181', '1055', '8221', 'J', 'L', 'H', 'a', 'Y', 'f', 8131, 'Q', 3759, 7581, 7347, 5233, 'O', 9031, 'b', 'R', 6265, 5391, 'v', 'B', 6783], [6291, 'S', 4947, 'e', 5267, 'x', 9731, 'Q', 's', 'e', 'z', 'j', '7109', '3605', 'f', '5171', '3033', '8749', 'v', 'W', 'w', '5767', 'O', 'a', '9181', '1055', '8221', 'J', 'M', 23, 'M', 'w']