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

Example Input: [5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']
Example Output: B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D

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: ['c', 'g', '5279', 'a', 'u', 'A', '9003', 'q', '4359', 'M', 'p', 'm', '9323', '1511', 'e', 'i', '6067', 'L', '9807', '4115', '853', 'f', 5495, 4633, 'j', 'O', 'J', 'k', 9933, 8795, 'x', 'X', 'G', 1435, 'U', 'm', 9615, 7111, 1373], [483, 6137, 'M', 'G', 4833, 'S', 'G', 'Z', 5591, 9751, 1729, 'F', 6887, 'p', 9039, 7435, 'a', 'y', 'j', '5279', 'a', 'u', 'A', '9003', 'q', '4359', 'M', 'p', 'm', '9323', '1511', 'e', 'i', '6067', 'L', '9807', '4115', '853', 'G', 'O']
Example Output:
5279, a, u, A, 9003, q, 4359, M, p, m, 9323, 1511, e, i, 6067, L, 9807, 4115, 853