In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4839, 6727, 'x', 'J', '1511', '8991', '155', '89', 'D', 'Z', 3705, 6329], ['r', 'y', 3315, 1843, 'e', 'x', 'J', '1511', '8991', '155', '89', 'H', 3305, 'r', 'U', 'I', 5101]