In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[9087, 1239, 'j', 'p', 'F', 'n', 's', 's', 2071, 'X', 3873, 'T'], [9025, 5267, 'y', 9023, 'j', 'p', 'F', 'n', 's', 'B', 'C']