In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['R', 'I', 9119, 'C', 2169, 'B', '713', '1077', '717', 'F', '9639', '2371', 'T', 'D', 'i', 'L', 425, 5365, 'X', 4179, 6055], [3235, 'B', 'Q', '713', '1077', '717', 'F', '9639', '2371', 'T', 'D', 'r', 6003]