In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[1879, 'h', 587, 9451, 6399, 'o', '8381', 'O', 'j', 'c', 'b', '2263', 'y', 'D', 'L', '4959', '2497', '3001', 'I', 'I', '9709', '6215', 'z', 'O', 'q', 'x'], ['g', 587, 8033, 7337, 9261, 'o', '8381', 'O', 'j', 'c', 'b', '2263', 'y', 'D', 'L', '4959', '2497', '3001', 'I', 'I', '9709', '6215', 'z', 'O', 'K', 3131, 'b', 3067, 153, 'V', 9863]