In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.
One example is below.
Q: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
A: 8297, b
Rationale: 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'].
Q: ['s', 7023, 'S', 'J', 'D', 'z', 'y', 5313, 'V', '1083', '8285', 'S', 'v', '8605', 'E', '3917', '3347', 'y', 'k', 7225, 'J', 'O', 3687, 'b'], ['m', 1179, 3197, 6303, 'V', '1083', '8285', 'S', 'v', '8605', 'E', '3917', '3347', 'k', 5201]
A:
V, 1083, 8285, S, v, 8605, E, 3917, 3347