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: ['G', 'N', 2455, 2031, 3541, 3421, 'B', 9929, 'V', 8215, 'E', 'z', 'P', 'j', '8389', 'V', '4269', '6739', '5901', 'I', '7697', 'V', 'I', 9907, 'R', 'v', 'f', 't'], [6293, 'l', 'E', 'z', 'P', 'j', '8389', 'V', '4269', '6739', '5901', 'I', '7697', 'V', 'T', 7683, 'O', 'r', 9377, 'S', 'x']
A:
E, z, P, j, 8389, V, 4269, 6739, 5901, I, 7697, V