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: ['V', 'W', 4389, 6727, 'I', '3627', 'b', 'i', '321', '3645', '3195', '499', '7609', '6899', 'k', '4261', 'o', 'Q', '7823', 'A', '6483', 'I', '8695', '7559', '4855', 'z', 'Q', 'b', 'j', 'A', 'F', 'D', 'b', 'S', 641, 2989, 5789, 'E', 7745, 8323, 3347, 6945, 4667, 'J', 'Y', 2571, 'y', 9297, 'i', 389, 'I', 8089, 'w', 4315, 7443, 3173, 'V', 1257, 'U', 5817], ['l', 5535, 7817, 7669, 3435, 4473, 'p', 'I', '3627', 'b', 'i', '321', '3645', '3195', '499', '7609', '6899', 'k', '4261', 'o', 'Q', '7823', 'A', '6483', 'I', '8695', '7559', '4855', 'z', 'Q', 'b', 'j', 'A', 'F', 'D', 'b', 'u', 403, 'L', 7619, 'd', 9541, 2629, 5807, 'F', 3729, 'F', 4637, 'Z', 1303, 'L', 1239, 'S', 'e', 9549, 1291, 2709, 9191, 8475, 'L']
A:
I, 3627, b, i, 321, 3645, 3195, 499, 7609, 6899, k, 4261, o, Q, 7823, A, 6483, I, 8695, 7559, 4855, z, Q, b, j, A, F, D, b