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

Example Input: ['n', 'W', 'i', 'K', 2711, 3819, 3121, 537, 'b', 'R', 'a', 'L', 9525, 4387, 'd', 'q', 'V', '8621', 'S', '1969', 'Z', 'd', 'q', '2441', 'h', 'f', '6131', '4119', 'P', 'N', '9983', 'o', 'g', 'V', 7589, 5107, 'j', 'Z', 1463, 6377, 6067, 6867, 6039, 'H', 's', 'E'], [9135, 6091, 'K', 4859, 'q', 'G', 'V', 'p', 8559, 'F', 'X', 9801, 4643, 5531, 7251, 'q', 'V', '8621', 'S', '1969', 'Z', 'd', 'q', '2441', 'h', 'f', '6131', '4119', 'P', 'N', '9983', 'H', 2205, 2319, 2013, 1597, 3171, 'A', 'h', 'c']
Example Output: q, V, 8621, S, 1969, Z, d, q, 2441, h, f, 6131, 4119, P, N, 9983

Example Input: ['i', 6139, 'B', 'z', 'A', 7029, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'F', 1251], ['d', 9233, 543, 5455, 8707, 'r', 'l', 'N', 'J', '7029', 'l', 'm', 'r', 4751]
Example Output: r, l, N, J, 7029, l, m

Example Input: ['P', 'g', 'L', 'k', 'E', 'X', '923', '4817', '3373', 'y', '8017', 'h', 'c'], [5225, 2473, 'J', 'X', '923', '4817', '3373', 'y', '8017', 'q', 'H', 8159, 3013]
Example Output:
X, 923, 4817, 3373, y, 8017