Given the task definition and input, reply with output. In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

['d', 4529, 5501, 2885, 'Z', 133, '8525', 'p', 'I', 'P', 'L', 'N', 'N', 'M', 'm', 'g', '5443', 'P', '9747', 'b', 'q', '5787', 'z', 's', 'K', 2247, 3291, 5139, 9405, 'R', 'D', 9463, 7391, 'I', 'U', 7249, 'q', 'b', 'H'], [2579, 69, 't', 'h', 1341, 'f', 473, 'W', '8525', 'p', 'I', 'P', 'L', 'N', 'N', 'M', 'm', 'g', '5443', 'P', '9747', 'b', 'q', '5787', 'z', 'W', 'h', 2711, 1207, 5941, 'e', 'O', 'c', 'G', 'b', 'P', 5437, 'r', 7921]
8525, p, I, P, L, N, N, M, m, g, 5443, P, 9747, b, q, 5787, z