In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['n', 'l', 8169, 'y', 3199, '4735', '8247', 'L', '1231', 'p', 's', 'Z', 'u', 3397, 'R', 9413], [7587, 3533, '4735', '8247', 'L', '1231', 'p', 's', 'C', 9167, 9449, 'Z', 'I', 'T']