Detailed Instructions: In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
See one example below:
Problem: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Solution: 8297, b
Explanation: Here, '8297, b' is the longest common subsequence in both the input lists [5797, 8817, '8297', 'b', 'U', 'b'] and [5843, 8809, '8297', 'b', 'W', 'C'].

Problem: ['I', 4247, 'i', 8555, 'k', 2125, 1391, 'v', 1955, 1691, 6831, 2311, 'P', '5793', '4761', 'J', 'Q', 'P', 'm', '8677', '6461', 'N', '6433', '433', 'x', '2969', 'e', '7061', '8815', 'o', 'y', 'D', '8397', '6559', 'i', '3499', 'B', 'N', '4749', 'd', '5069', 'Z', 'g', 4711, 1315, 'M', 7767, 'N', 4857, 5127, 'y', 'u', 'v', 'y', 'l', 'M'], [4443, 5095, 'a', 'y', 'A', 6315, 'C', 'B', 827, 1661, 8593, 5521, 9599, 7721, 'Y', 1215, 'w', 1579, 1007, 3095, 'J', 8763, 885, 5037, 'i', 289, 'g', 4457, 'P', '5793', '4761', 'J', 'Q', 'P', 'm', '8677', '6461', 'N', '6433', '433', 'x', '2969', 'e', '7061', '8815', 'o', 'y', 'D', '8397', '6559', 'i', '3499', 'B', 'N', '4749', 'd', '5069', 'Z', 'S', 'V', 'd', 'R', 'U', 'R', 'J', 'i', 'j', 3393, 'f', 9699, 'y', 'A', 'l', 'z', 935, 'W', 'L', 7939, 9237, 'P', 5173, 'J', 9455, 199]
Solution:
P, 5793, 4761, J, Q, P, m, 8677, 6461, N, 6433, 433, x, 2969, e, 7061, 8815, o, y, D, 8397, 6559, i, 3499, B, N, 4749, d, 5069, Z