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

Ex Input:
[6103, 'W', 'k', 931, 'r', 'v', 'w', 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'b', 'w'], [9617, 'F', 3411, 'X', '5537', '3209', '4831', 'R', '2093', 'U', 'O', 9311, 5805]

Ex Output:
X, 5537, 3209, 4831, R, 2093, U


Ex Input:
['N', 9837, 'S', 'f', 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'z', 'i', 9307, 1877, 1633, 9823, 'u', 'u', 8629, 'M', 411, 135, 'J', 'H', 'b', 'm', 669, 'i', 6935], [685, 6231, 'z', '7671', '5131', '2773', '3435', '2525', '2621', 'k', '1113', 'u', '9269', '4517', 'B', 'a', 'R', 'T', '3077', 'h', 'q', 'z', 'w', 'n', 2383, 2123, 5545, 'j', 'q', 4387, 2801]

Ex Output:
z, 7671, 5131, 2773, 3435, 2525, 2621, k, 1113, u, 9269, 4517, B, a, R, T, 3077, h, q, z, w


Ex Input:
['s', 'L', '3721', 'J', 'h', 'X', '5281', 'G', '6999', '3169', 'E', '8595', '1457', '5337', '2609', 'E', '8209', 'F', 'z', '2639', 'X', 'z', 8419, 'r', 623, 2429, 1569, 'u', 9377, 2237, 1783], [8285, 'I', 965, '3721', 'J', 'h', 'X', '5281', 'G', '6999', '3169', 'E', '8595', '1457', '5337', '2609', 'E', '8209', 'F', 'z', '2639', 'u', 8025, 'P', 4017, 7677, 'd']

Ex Output:

3721, J, h, X, 5281, G, 6999, 3169, E, 8595, 1457, 5337, 2609, E, 8209, F, z, 2639