In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[4263, 'L', 4513, 'N', '4995', 'v', '4639', 'r', 'c', 'D', 'o', 'm', 7889, 'v', 'm'], ['m', 581, 'L', 'i', 9875, 5123, '4995', 'v', '4639', 'r', 'c', 'D', 'o', 'l', 'P', 2875]