In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
['d', 2055, 457, 'E', 'G', 'y', 'k', 5557, 'a', 'Z', 4317, 'W', 'A', '2553', '2427', 'g', 'i', 'h', 'V', '5935', 'o', '8921', 'S', 'G', '2711', 'R', 'D', 'X', 'V', '5', '5161', '5219', 'i', 3693, 6007, 'Q', 8739, 8159, 'R', 'g', 1491, 3683, 'B', 'X', 9381, 'p', 'q'], ['l', 9027, 9037, '2553', '2427', 'g', 'i', 'h', 'V', '5935', 'o', '8921', 'S', 'G', '2711', 'R', 'D', 'X', 'V', '5', '5161', '5219', 'T', 5373, 7449, 7797, 9345, 3135, 'X', 'M', 'C', 'B', 5727, 'R', 'Q', 505, 7093, 'A', 'y', 'X']