In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['i', 3145, 'e', 8251, 'K', 'z', 'K', 1529, 4383, 'E', 'z', 'Q', 'd', 'f', 'C', '5097', 'f', '4235', 'a', 'c', 'i', '783', '8167', 'e', 'h', 'f', '6463', '381', '8381', '1827', '6447', 'G', '5857', 'N', '9603', 'W', 3135, 'z', 't', 1287, 'b', 'c', 'Z', 'L', 'V', 'C', 3171, 9267, 3461, 'f', 'V', 1015, 4835, 'N', 4215, 'Z', 1907, 'P', 'b'], ['j', 7721, 'P', 'B', 'l', 1367, 'i', 'x', 'N', 'Q', 'd', 'f', 'C', '5097', 'f', '4235', 'a', 'c', 'i', '783', '8167', 'e', 'h', 'f', '6463', '381', '8381', '1827', '6447', 'G', '5857', 'N', '9603', 'S', 'A', 4019, 'K', 'm', 139, 'c', 2115, 641, 5755, 4003, 3759, 2501, 'F', 215, 'F', 7843, 'H']