In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['s', 8535, 2313, 'x', 'O', 2833, 709, 'F', 2123, 6825, 'z', 'B', 'Z', 'a', 'S', 'w', '4711', 'T', '1139', 's', 'F', 'f', '2767', 'f', 'o', 'm', '7291', 'l', 'Q', 'X', 'r', '4221', 'H', '4457', 'E', 'a', 1663, 8213, 5889, 7507, 'c', 'C', 'w', 'J'], ['R', 7717, 391, 'z', 'K', 2273, 'U', 9331, 3771, 963, 2245, 'L', 5431, 'w', '4711', 'T', '1139', 's', 'F', 'f', '2767', 'f', 'o', 'm', '7291', 'l', 'Q', 'X', 'r', '4221', 'H', '4457', 'E', 'X', 'R', 6723, 6575, 's', 6969, 2943, 1103, 'W', 3081, 'e', 3795]