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: ['U', 2745, 'u', 8439, 'x', 7823, 'Q', 'o', 'Q', 2127, 'r', 1699, 'l', 'R', 'i', 'z', 'A', 8987, 1807, 9493, 9075, 7907, 'W', 'Q', '5823', 'j', '10025', '1095', '3439', '7403', '7593', '1245', '5957', 'N', '6475', '5527', 'v', '8003', 'S', 's', '7699', 'c', 'U', '4125', 'E', 'f', '6081', '1837', 'R', 'E', 'I', 'M', 2753, 3385, 'E', 'j', 'h', 5095, 601, 'F', 't', 6303, 9139, 'o', 3419, 'q', 'w', 'k', 7479, 'a'], [2309, 7859, 'c', 967, 'q', 'a', 'M', 'C', 1493, 'Y', 883, 295, 729, '5823', 'j', '10025', '1095', '3439', '7403', '7593', '1245', '5957', 'N', '6475', '5527', 'v', '8003', 'S', 's', '7699', 'c', 'U', '4125', 'E', 'f', '6081', '1837', 'R', 'E', 'I', 'e', 'e', 8981, 8861, 'I', 1689, 9503, 4263, 3519, 'v', 'A', 2643, 'g', 'h', 'X', 'L', 7395, 'n', 2685, 'H', 'Q', 'f']
Solution:
5823, j, 10025, 1095, 3439, 7403, 7593, 1245, 5957, N, 6475, 5527, v, 8003, S, s, 7699, c, U, 4125, E, f, 6081, 1837, R, E, I