In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2855, 'L', 'b', '5647', '5103', '2917', 'l', 2405], ['i', 4901, 'P', '5647', '5103', '2917', 'k', 'U']