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

Ex Input:
[6529, 'i', 8343, 't', 'h', 5181, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'E', 'W', 625, 'O', 'm'], [4169, 8965, 6125, 'U', 'x', 'E', 7203, 'I', 81, 'P', 'r', 8581, 'k', '5863', 'm', 'P', '9787', 'r', '1383', 'U', 'a', 'p', 'T', '1635', 'J', 'X', 'O', 'v', 'f', 'q', 'b', 'm', 'f', 9239, 'b', 895, 703, 7809, 'E', 'l', 'c', 7915]

Ex Output:
k, 5863, m, P, 9787, r, 1383, U, a, p, T, 1635, J, X, O

Ex Input:
[7299, 'v', 7279, 'o', 2589, 'K', '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'f', 1935, 'V', 9979, 3301, 'Z', 'J', 521, 871, 'Z', 'R', 7831, 'T', 'h', 3231, 'e', 2391], [7491, 'k', 4137, 'P', 'F', 8159, 'x', 6363, 2449, 7479, 6825, 7107, 'I', 2931, 7047, 9149, '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'g', 7147, 2657, 'Z', 'a', 503]

Ex Output:
4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295

Ex Input:
['F', 3199, 9687, 'Y', 'D', 'i', 1221, 6701, 3345, 'D', '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'K', 935, 2381, 'L', 9625, 3381, 'S', 'N', 't', 7781, 6337, 'e'], ['e', 'p', 133, '6203', '3893', 'W', 'A', 'o', '9143', '4965', '9091', '4113', 'p', 'v', '7373', '1257', '3423', 'f', 7311, 5287, 'J', 'x', 'H', 393]

Ex Output:
6203, 3893, W, A, o, 9143, 4965, 9091, 4113, p, v, 7373, 1257, 3423