In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 2387, 'U', 'C', '7395', '4657', 'F', 'm'], [2895, 8861, 'n', 9201, 'U', 'C', '7395', '4657', 'x', 'w']