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

Example Input: ['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']
Example Output: 6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I

Example Input: [5269, 'q', 'b', 9461, 1715, 8909, 2865, 't', 3899, 9097, 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'E', 4775, 7047, 6939, 5023, 'F', 1385, 'f', 'P', 'R', 6711, 3741, 'C', 6351, 'K', 5279, 'm', 4933, 8587, 4429, 793, 5537, 'v'], ['X', 'A', 'I', 'W', 8039, 6937, 'l', 209, 6835, 'Z', 'x', 'G', 'R', 's', 'J', 'u', 'O', 'q', '3289', '9079', 'q', '1341', 'a', '8881', 's', '1837', '4351', '5559', '43', '4733', 'y', '6455', '6219', '725', '7947', '7143', '9627', '3401', '1647', '755', 'i', 'a', 'k', 5823, 'r', 'l', 'p', 'F', 5771, 'H', 7231, 't', 'c']
Example Output: s, J, u, O, q, 3289, 9079, q, 1341, a, 8881, s, 1837, 4351, 5559, 43, 4733, y, 6455, 6219, 725, 7947, 7143, 9627, 3401, 1647, 755

Example Input: [9427, 5577, 2089, 'd', 6859, 'y', '4761', 'k', '9591', '8913', 'x', 'f', 'C', '2929', '5699', '3467', 'H', '887', 'F', '121', 'N', 'j', 2469, 'A', 4195], ['L', 4221, 't', 'y', '4761', 'k', '9591', '8913', 'x', 'f', 'C', '2929', '5699', '3467', 'H', '887', 'F', '121', 'Y', 799, 5337, 'B', 'H', 'o', 8585]
Example Output:
y, 4761, k, 9591, 8913, x, f, C, 2929, 5699, 3467, H, 887, F, 121