In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9591, 9655, 4587, 5693, '10005', '8543', 'o', 'b', '4381', 'D', 'C', 2881, 'Y'], [2887, 3137, '10005', '8543', 'o', 'b', '4381', 'D', 'F', 1987, 7697, 'U']