Definition: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
Input: [3225, 'l', 'v', 'C', 'L', 'f', 6797, 3991, 7993, 'w', 6325, 6173, 7797, 427, 6343, 421, 4623, 'v', 'g', 'v', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'c', 'x', 2453, 'W', 'H', 'R', 5635, 'a', 9665, 6071, 4127, 't', 8505, 'B', 'R', 'w', 'A', 6985, 'u'], ['G', 'z', '9567', '6181', 'e', '4705', 'a', '4789', 'r', 'K', 'b', '8561', 'V', 'G', 'g', 'e', 'D', 'e', '9529', 'Y', '4953', '8369', 'Y', '4221', 'F', '6257', '5991', 'I', '8525', 'W', '9665', 'S', 'Y', 3793, 5393, 4571]
Output:
9567, 6181, e, 4705, a, 4789, r, K, b, 8561, V, G, g, e, D, e, 9529, Y, 4953, 8369, Y, 4221, F, 6257, 5991, I, 8525, W, 9665