In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[2861, 1877, 4183, 1669, 'Q', 6151, 6605, 6757, '3393', '7977', '3983', '3233', 'X', '8669', 'h', 'W', '1973', '2803', '8983', 'H', 'o', 3969, 'F', 'D', 'm', 'r', 'w', 'V', 'X'], [9067, 'w', 3603, 'J', 3311, '3393', '7977', '3983', '3233', 'X', '8669', 'h', 'W', '1973', '2803', '8983', 'a', 7399, 'W', 's', 527, 'y']