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: ['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]
Example Output: 3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k

Example Input: [4061, 1529, 'a', 'L', 'F', 'n', '3643', 'S', 9817, 'G', 'T'], [4683, 'd', 'V', 'a', 'L', 'F', 'n', '3643', 2037, 3873, 4119, 6985, 'y']
Example Output:
a, L, F, n, 3643