In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
[3257, 'S', 'L', 'X', 3517, 5603, 8397, 'Q', 1547, 10031, 'z', 3071, 1341, 'a', 'u', '9277', '4819', 's', 'c', 'R', '8589', 'z', '3781', 'B', 'c', 'D', 'o', 'L', '5745', 'p', 'x', '2487', 'R', '3121', '5833', '197', 'w', 'c', 'g', '7825', 'M', 'G', 6201, 6329, 2289, 'h', 'E', 1099, 'q', 'O', 'G', 'F', 2369, 'Z'], ['C', 'b', 8471, 957, 9255, 7231, 'v', 'V', 7695, 'A', 'j', 733, 6051, 'P', 2353, 'G', 'K', 'k', 895, 'V', 'q', '9277', '4819', 's', 'c', 'R', '8589', 'z', '3781', 'B', 'c', 'D', 'o', 'L', '5745', 'p', 'x', '2487', 'R', '3121', '5833', '197', 'w', 'c', 'g', '7825', 'c', 'V', 3961, 241, 7511, 7541, 'X', 'g', 'W', 1163, 'D', 2973, 5553, 4505, 3793, 'K']