In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[5261, 8675, 'L', 'n', 4225, 3533, 't', 8879, 9743, 'O', '6397', '9831', 'q', 'o', 'k', '2579', '2341', 'H', '5765', 'g', 'w', 'f', 'J', 1649, 5003, 1025, 4917, 6629, 'm', 'T', 'M'], ['l', 'I', 6703, 8851, 'O', '6397', '9831', 'q', 'o', 'k', '2579', '2341', 'H', '5765', 'g', 'w', 'f', 'h', 'e', 2415, 6783, 'P', 3025]