In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['p', 3301, 179, 2899, 'P', 'Z', 'W', 'p', 'x', '3385', 'G', 'f', 'y', 'v', '9753', '389', 'C', '2081', 'v', 'l', 'K', '8525', '9467', '5897', '4065', '223', 's', 'w', 'J', 't', 'y', 'M', 'j', 9183, 'B', 'K', 'q', 5237, 'o', 327, 9647], [8171, 5995, 1971, 'a', 3697, 5525, 4663, 'e', 'e', 2235, 4363, 9403, 8347, 3541, 1965, 5279, 1715, 'Z', 5699, 'x', '3385', 'G', 'f', 'y', 'v', '9753', '389', 'C', '2081', 'v', 'l', 'K', '8525', '9467', '5897', '4065', '223', 's', 'i', 4629, 'R', 6019, 'U', 'F', 'K', 8875, 4575, 7001, 'X']