In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[8401, 4875, 'O', 6829, '6121', '941', 'L', 'p', '1509', '5263', '1503', 'k', 'n', 9959, 'T', 10009], [7505, 8387, 'b', '6121', '941', 'L', 'p', '1509', '5263', '1503', 'c', 'V', 'v', 'w']