In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[129, 'x', 'c', 4643, '7887', '4859', '11', 'p', 'D', 'o', 'R', 'T', 'o', 'l', '277', 'q', 'M', 'G', '3077', 'd', 'f', 't', '6361', 'J', 'X', 'b', 'G', 7567, 5885, 'p', 619, 'X', 7519, 'w', 3983, 2397, 'N'], [8857, 5513, '7887', '4859', '11', 'p', 'D', 'o', 'R', 'T', 'o', 'l', '277', 'q', 'M', 'G', '3077', 'd', 'f', 't', '6361', 'J', 'p', 'P', 9855, 5387, 8615, 'N', 'n', 4725, 6489, 7395, 7033, 835, 'y', 7831]