In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[6301, 'L', 1453, 2675, 'O', 'C', 'd', 'x', 8559, '2927', 'h', '9949', 'H', '8913', '8263', 'f', '8965', 'p', 'f', 3977, 9621, 'n'], ['v', 679, 'n', '2927', 'h', '9949', 'H', '8913', '8263', 'f', '8965', 'p', 'i', 'p', 147, 3161, 7559, 'H']