In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2801, 1507, '979', 'v', '5507', '4725', 'y', 'd'], ['f', 'O', 7517, '979', 'v', '5507', '4725', 'C', 4113]