In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[7421, 6425, '6171', '1733', '5311', 'g', '2067', 'c', 2405], ['J', 'w', 7073, 'R', 'c', '6171', '1733', '5311', 'g', '2067', 'P', 7885, 'w']