In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['K', 3605, 'N', 'K', 423, 'p', 'b', 'f', '5265', '4597', '7883', 'f', 'E', 'y', 'i', 'r', '2647', '165', '8987', 'h', '571', '1393', '1605', 'u', 'r', '2897', 'U', 'd', 'L', 'i', 'Y', '8939', 'v', 'Z', 'w', 4591, 3797], ['A', 'T', 5635, 7865, 1457, 1753, 'e', 4485, 'c', 'C', 73, 2375, 5429, 1319, 1811, 'W', 'o', 5155, 857, 277, 2265, 2535, 'c', 3179, '5265', '4597', '7883', 'f', 'E', 'y', 'i', 'r', '2647', '165', '8987', 'h', '571', '1393', '1605', 'u', 'r', '2897', 'U', 'd', 'L', 'i', 'Y', '8939', 'v', 'h', 645, 'm', 'c', 'C', 6393, 159, 6671, 2593, 5041, 'f', 6103, 'w', 9299, 'z']