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

Ex Input:
['m', 'K', 2769, 'i', 'k', 853, 'P', '9255', 'N', '8281', 'f', 'm', 'V', 'a', 3525, 7823, 2111, 'T'], ['Q', 1337, 'I', 'P', '9255', 'N', '8281', 'f', 'm', 'g', 'M', 3873]

Ex Output:
P, 9255, N, 8281, f, m


Ex 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']

Ex Output:
B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Ex Input:
['D', 5643, 'e', 'C', 'd', '8373', '9341', '3233', '8371', 'C', '9603', 'D', 'V', 'E', 749, 'y', 7205], [9477, 'j', 8109, '8373', '9341', '3233', '8371', 'C', '9603', 'D', 'V', 'f', 'A', 'y', 'W', 'u', 'K', 2385, 2753]

Ex Output:

8373, 9341, 3233, 8371, C, 9603, D, V