In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4685, 3489, 'x', 'z', '2429', 'x', '5763', '5673', 'g', 'L', 2071, 'G', 1313, 2377], [5433, 'o', 8201, 5145, 6339, '2429', 'x', '5763', '5673', 'g', 'B', 8537, 6173, 357, 2803]