In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3931, 'T', 'd', 3041, 's', 9241, 6635, '7577', '9777', '8883', 's', '1927', 'e', '7179', 'D', 'm', '8511', '3229', 'S', 'p', 'k', '8361', '7385', '8727', 'z', 'z', '161', 'I', 'A', 5343, 81, 'L', 429, 'A', 897, 'A', 'P', 'K', 439, 'M', 'G', 'I', 'Y', 5777, 467, 'T', 'C'], ['A', 'J', 2997, 'b', 9793, 8367, 'w', 9747, 3327, 'Z', 301, 3251, 'h', 901, '7577', '9777', '8883', 's', '1927', 'e', '7179', 'D', 'm', '8511', '3229', 'S', 'p', 'k', '8361', '7385', '8727', 'z', 'z', '161', 'K', 9579, 8595, 5325, 8637, 8631, 8133, 'o', 'c', 'n', 'j', 'x', 6721, 6767, 'B', 'm']