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

Ex Input:
['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]

Ex Output:
q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P


Ex Input:
['Y', 'l', 6297, 9773, '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'T', 'O', 2961, 6077, 'L', 5737, 99, 2363, 'A', 'I', 'E', 5649, 4127, 'm', 3085], ['g', 8141, 'Y', 7433, 1501, 2423, 'P', 8359, 8589, 7265, 265, 'N', 'J', 8251, 'f', '6077', 'B', 'x', 'C', '7371', '5635', '9551', '8421', '6587', 'Y', 'L', 'i', '1275', 'J', 's', 'C', '10005', 'x', '9473', 'I', 'K', 9051, 'Q', 'M']

Ex Output:
6077, B, x, C, 7371, 5635, 9551, 8421, 6587, Y, L, i, 1275, J, s, C, 10005, x, 9473, I


Ex Input:
['O', 5537, 4385, 2391, 'F', 747, 'q', 1835, 725, 'n', 8661, 'M', 9463, 9213, 'B', 'O', 7285, 'R', 'B', 'd', '9579', '3729', '8041', '9921', 'C', 'n', '4949', '7989', 'S', '1129', '9235', '5855', '7025', 'V', 'C', '4985', 'O', 'u', 'E', 'X', 'X', '5473', '307', '1367', 'm', 'i', '3393', 'b', 'H', 'W', 2967, 'm', 5327, 2351, 'N', 4889, 3941, 'H', 703, 2479, 'X', 'n', 'B'], ['P', 'k', 'd', '9579', '3729', '8041', '9921', 'C', 'n', '4949', '7989', 'S', '1129', '9235', '5855', '7025', 'V', 'C', '4985', 'O', 'u', 'E', 'X', 'X', '5473', '307', '1367', 'm', 'i', '3393', 'e', 'E', 139, 'b', 'C', 'q']

Ex Output:

d, 9579, 3729, 8041, 9921, C, n, 4949, 7989, S, 1129, 9235, 5855, 7025, V, C, 4985, O, u, E, X, X, 5473, 307, 1367, m, i, 3393