In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5301, 'R', 5517, 8519, 'l', 9329, 'p', 'b', '1025', '7273', 'C', '9155', 'b', '8627', 'F', 1235, 'N'], [5019, 4653, 'p', 'b', '1025', '7273', 'C', '9155', 'b', '8627', 'j', 6189, 'r', 7357, 'c', 'o']