In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1019, 815, 2997, 'd', 'C', 7873, 3307, 'r', 'V', 'y', '4147', '9621', 'P', 'k', 'I', '4541', '3219', 'n', 'a', 'O', 'e', 'u', 'd', 'e'], ['o', 7593, 'e', 5113, 487, 5741, 'V', 'y', '4147', '9621', 'P', 'k', 'I', '4541', '3219', 'N', 3125, 'S']