In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 7829, 'S', 2433, 'n', 201, 'e', 'R', '1005', '229', '9357', 'Z', '9421', 'r', 'w', 301, 4293, 1731], [8829, 2765, 7717, 'X', 8325, 'B', 'R', '1005', '229', '9357', 'Z', '9421', 'r', 'E', 3241]