In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['P', 'f', 1493, 2821, 5607, 4235, 'z', '4985', 'D', '5749', '7835', 'W', 'J', '2975', 'x', '8989', 'o', 'm', 'A', 'P', '1697', '8725', 'y', 'L', '2147', '3691', 'Y', '7737', 'A', 'X', 3327, 'X', 'L', 'T', 6353, 8989, 2637, 'd', 61, 7977, 'L', 'v', 'Q', 1899, 'D', 1579, 'N'], ['D', 8783, 'G', 'Y', 'K', 'E', 7477, 1823, 'L', 9771, 'C', 7893, 2205, 'R', 947, 'm', 'O', 3599, 1459, 7329, 'f', 'F', 1217, 'z', '4985', 'D', '5749', '7835', 'W', 'J', '2975', 'x', '8989', 'o', 'm', 'A', 'P', '1697', '8725', 'y', 'L', '2147', '3691', 'Y', '7737', 'A', 'x', 'U', 'w', 'm', 5147, 3769, 'k', 'b']