In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3875, 3837, '8671', 'Z', 'b', 'V', 'p', 'A', 8187, 4919, 'D', 'y'], ['y', 'U', 'X', 's', '8671', 'Z', 'b', 'V', 'p', 'F', 'L']