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

Ex Input:
[8471, 8309, 'g', 'f', 5019, 'd', 8129, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'L', 5985, 2953, 6897, 'n', 9209, 3281, 'w', 4011, 't'], ['g', 7529, 'q', 6213, 'c', 'l', 6053, 'r', 'e', 'l', 'B', '7297', 'c', '2785', '919', 'B', '5459', 'B', 2159, 7633, 8707]

Ex Output:
r, e, l, B, 7297, c, 2785, 919, B, 5459


Ex Input:
['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]

Ex Output:
4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241


Ex Input:
[3437, 'd', 3277, 9943, 'n', 'V', 'Y', 'w', 'x', 'g', 'N', '7521', '9675', '3909', 'H', 'i', '39', 'q', 'C', 'z', 'r', 'l', 'H'], ['p', 'd', 7, 2149, 7059, 'w', 'x', 'g', 'N', '7521', '9675', '3909', 'H', 'i', '39', 'q', 'C', 'P', 'R', 4161, 9787, 'B', 8217, 8643]

Ex Output:

w, x, g, N, 7521, 9675, 3909, H, i, 39, q, C