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: ['Z', 'g', 'T', 'e', 8297, 'A', 'R', 'B', 5505, 4049, 'E', 'J', 'Y', 2329, 'v', 'f', 'K', 6657, 5173, 2359, 'l', 't', 2135, '6561', '5121', 'J', '4173', '1883', '7053', 'w', 'O', '4265', 'A', 'O', 'P', '2833', '5347', '8247', 'c', '5655', 'u', '8565', 'B', 'Q', 'M', '1345', 'p', '4299', 'l', '1839', '7111', 'n', 4351, 'P', 5391, 'x', 335, 'Q', 'H', 9897, 'b', 'p', 4227, 3981, 3309, 'Y', 4563, 5769, 'B', 'l', 'v', 'o'], [4323, 4745, 6749, 1903, 'E', 8829, 'h', 'D', 2265, 'W', 'j', 'a', 7775, 'K', 'q', '6561', '5121', 'J', '4173', '1883', '7053', 'w', 'O', '4265', 'A', 'O', 'P', '2833', '5347', '8247', 'c', '5655', 'u', '8565', 'B', 'Q', 'M', '1345', 'p', '4299', 'l', '1839', '7111', 'v', 4929]
Solution:
6561, 5121, J, 4173, 1883, 7053, w, O, 4265, A, O, P, 2833, 5347, 8247, c, 5655, u, 8565, B, Q, M, 1345, p, 4299, l, 1839, 7111