In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 5207, 9433, 6173, 'y', 123, 'y', 'Z', 'N', 'z', 'j', 2061, 'b', 'w', 'Z', 965, 'Z', 'f', 'x', 'E', '3367', 'c', 'N', 'j', 'F', '4611', 'I', '3993', '9709', 'J', '989', '3431', 'f', '8979', '3559', 'f', 'j', 'd', 'M', 'd', '2187', '2917', 'S', 'M', '8637', 'U', 8661, 't', 6761, 'u', 'v', 'E', 'N', 6367, 5485, 2451, 'T', 7821, 'v', 4119, 6575, 'E', 'w', 1829, 'M', 'p', 'i', 'v', 6369, 541], [3891, 'V', 6315, 'o', 701, 'Z', 'f', 'x', 'E', '3367', 'c', 'N', 'j', 'F', '4611', 'I', '3993', '9709', 'J', '989', '3431', 'f', '8979', '3559', 'f', 'j', 'd', 'M', 'd', '2187', '2917', 'S', 'M', '8637', 'b', 'B', 6461, 'W', 7999, 4943, 6613, 'M', 'j', 'Q', 'k', 'd', 7941, 1153, 'P', 2237]