In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[347, 'f', 6839, 2801, 'u', 5097, '4705', 'm', 'M', '1261', '893', '3965', 'v', 3761], [7621, 2377, 'f', 9503, 7315, '4705', 'm', 'M', '1261', '893', '3965', 'E', 6335, 4219, 1965, 3491, 879]