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: [4733, 'O', 5113, 'I', 5415, '7447', '1503', '3025', '1935', '7875', '1131', 'T', '6459', 'I', 'y', 7763, 'x', 6957, 8453, 7815, 9417, 'i', 325], ['B', 'O', 3389, '7447', '1503', '3025', '1935', '7875', '1131', 'T', '6459', 'I', 'W', 'i', 99, 6821, 'N', 'Z', 3753]
A:
7447, 1503, 3025, 1935, 7875, 1131, T, 6459, I