In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['r', 'j', 5843, 3859, '2379', '45', 'O', '357', '641', 'r', 6635, 'o'], ['v', 6929, 101, '2379', '45', 'O', '357', '641', 'w', 9165, 'G', 5789]