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: ['L', 'x', 'x', '3691', '253', '7767', 'S', 'h', '9779', 'd', 'E', 'G', 4545, 'V', 9377], [3713, 8855, 'x', '3691', '253', '7767', 'S', 'h', '9779', 'd', 'v', 6393, 'p']
Solution:
x, 3691, 253, 7767, S, h, 9779, d