In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8745, 3061, '5377', '2481', '4081', '8067', 'X', 'g', 7939, 'D', 2283], [9761, 2367, 9029, 'l', '5377', '2481', '4081', '8067', 'X', 'k', 6575]