In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[875, 'U', 'g', 'q', 'H', 2847, 'f', '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'e', 'n', 5885, 'w', 3345, 4693, 'H', 7789, 'y', 'j', 'e'], ['V', 'j', 6713, 2923, 'y', 6205, 'm', 5961, 9023, '6811', 'B', '7549', 'K', 'r', 'V', 'x', 'P', 'X', '2469', '3845', 'W', 'y', 7427, 5987]