In this task, you are given two lists A,B. Find the longest common subsequence in the lists A and B.

Example input: [5797, 8817, '8297', 'b', 'U', 'b'], [5843, 8809, '8297', 'b', 'W', 'C']
Example output: 8297, b
Example 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'].
Q: [5369, 2935, 'l', '2441', '5285', 'K', 'p', 'n', 't', 7077], ['J', 8001, 2809, '2441', '5285', 'K', 'p', 'v', 'W', 'u', 7265]
A:
2441, 5285, K, p