In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 8267, 'q', '5485', 'Y', 'h', 'B', 'W', 'd', 9575], [8747, 469, 'b', 'q', '5485', 'Y', 'h', 'B', 'c', 8511, 1929, 'n']