In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['W', 6089, 'd', 'D', '9697', 'p', 'C', 'P', 'B', '1231', '5935', 'm', '3073', '6213', 'p', 'y', 'O', 'x', 4751, 'd', 'R', 6287, 2369, 5955, 'n'], ['Y', 8443, 'h', 7817, 'C', 'y', 'J', 'L', 'u', 'd', 'd', 'D', '9697', 'p', 'C', 'P', 'B', '1231', '5935', 'm', '3073', '6213', 'j', 8039, 3391, 'L', 2687]