In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5211, 5641, 3287, '9025', '1443', '6307', 'F', '8251', '3537', 't', 'h', 6295, 4517, 8949], [5839, 9427, '9025', '1443', '6307', 'F', '8251', '3537', 'X', 'Z', 3689, 7931, 'L', 'L']