In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2833, 'V', 'n', 1749, 'V', 1351, 7053, '4833', 'c', '8491', 'q', '2855', 'b', '8917', 'u', 8971], [5399, 'E', 1593, 'X', 2509, 'I', 'b', '4833', 'c', '8491', 'q', '2855', 'b', '8917', 'A', 2279, 'n', 31]