In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['C', 1421, '2827', 'w', 'n', '317', '7315', '3589', 'd', 3803, 'x', 373, 7345, 'O'], [9839, 5935, '2827', 'w', 'n', '317', '7315', '3589', 'Z', 'C', 4111]