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

Example Input: ['P', 8059, 'A', 385, 't', 1999, 269, 'T', 'B', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'K', 6409, 'W', 'h', 9673, 1829, 'K', 'A'], [1099, 1609, 'q', 9603, 'B', 3251, 'o', 'x', 1197, 'O', 'u', 't', 'K', 'c', 1185, 'l', 'v', 'e', 'q', 9255, 'u', 'S', '5291', 'b', 'x', 'o', '7813', 'R', 'D', '1301', '2079', 'H', '3587', '1325', '8977', '5565', 'u', 'v', 'D', 'I', '6267', 'H', '6663', 'I', 'B', 'f', '2383', 'V', 6939]
Example Output: S, 5291, b, x, o, 7813, R, D, 1301, 2079, H, 3587, 1325, 8977, 5565, u, v, D, I, 6267, H, 6663, I, B, f, 2383

Example Input: ['X', 4261, 'm', 7859, 4443, 287, 7605, 'X', 'z', 6017, 2097, 2447, 8915, 4657, 375, 81, 'I', 'C', 'T', 7455, 7461, 'W', 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'D', 2439, 'Q', 'l', 'D', 3245], ['J', 'o', 3361, 8709, 8719, 'e', 'n', 'O', '1627', '5687', '421', '1005', '2703', '2689', '2227', '6679', '5031', 'y', 'n', '2949', 'j', '7753', '1135', 'A', 't', 'b', 'x', 'B', 'g', 'r', 4351, 'F', 2243, 8191, 5111, 6683, 'Y', 3647, 't', 'f', 2885, 5435, 7467, 'S', 9159, 8145, 'H', 'z']
Example Output: e, n, O, 1627, 5687, 421, 1005, 2703, 2689, 2227, 6679, 5031, y, n, 2949, j, 7753, 1135, A, t, b, x, B

Example Input: [3471, 8357, 'O', 2889, 'g', '1747', 'S', '4449', 'p', '9721', 'n', 'f', 'x', 'S', 'P', '3481', '7313', 'm', '2343', '2401', '8705', 'w', 3449, 'Y', 'F'], ['l', 8067, 'A', 'G', 5495, 8875, 'L', 'y', '1747', 'S', '4449', 'p', '9721', 'n', 'f', 'x', 'S', 'P', '3481', '7313', 'm', '2343', '2401', '8705', 'x', 1671, 5623, 'h', 'M', 'K', 'U', 4751, 4367, 'i', 'k', 6973, 'A']
Example Output:
1747, S, 4449, p, 9721, n, f, x, S, P, 3481, 7313, m, 2343, 2401, 8705