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

Ex Input:
[4961, 'H', 9957, 'w', 'K', 'Y', 3375, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'y', 2753, 2989, 6093, 7091, 8043, 'c'], [9279, 'S', 6127, 5845, 237, 'S', '3191', '4439', 'C', '1965', '2787', '4507', 'w', 9497, 'K', 2297]

Ex Output:
S, 3191, 4439, C, 1965, 2787, 4507

Ex Input:
[5855, 5381, 4557, 1925, 5483, 'e', 'G', 5611, 'i', 'm', 8803, 'B', 'y', 'E', 'q', 'b', '3923', '4531', '3417', '6771', '4237', '5073', 'f', '71', '9965', 'S', 'R', '2881', 'Z', '7031', '5001', '6173', 'k', 'b', 'w', 'Z', 'S', 7197, 193, 5037, 7897, 'u', 'z', 5457, 2889, 5487, 7755, 4747, 6959, 3923, 7809, 547, 'a', 5151, 'x', 'N', 'S', 'A', 's', 'x', 8791], ['t', 'F', 8629, 's', 'a', 'L', 6413, 'V', 'Q', 'R', 'C', 'J', 'B', 'y', 'E', 'q', 'b', '3923', '4531', '3417', '6771', '4237', '5073', 'f', '71', '9965', 'S', 'R', '2881', 'Z', '7031', '5001', '6173', 'k', 'b', 'w', 'Z', 'A', 'w']

Ex Output:
B, y, E, q, b, 3923, 4531, 3417, 6771, 4237, 5073, f, 71, 9965, S, R, 2881, Z, 7031, 5001, 6173, k, b, w, Z

Ex Input:
[9665, 9921, 'D', 6437, 'Q', 'Q', 2797, 'n', 'u', 'j', 'V', '7791', '1245', 'o', 'n', 'b', '8031', 'g', 'Z', 'g', '1821', 'e', 'P', '8943', 'R', '3251', 'd', '1605', '4851', 'X', 8523, 7051, 'Q', 469, 'h', 8255, 's', 'n', 4223, 2743, 6337, 1827, 7347, 'N', 237, 6649, 7563, 3691, 8359], ['R', 'S', 'V', 9231, 'B', 'w', 8977, 'V', 2319, 5235, 'n', 'u', 'j', 'V', '7791', '1245', 'o', 'n', 'b', '8031', 'g', 'Z', 'g', '1821', 'e', 'P', '8943', 'R', '3251', 'd', '1605', '4851', 'D', 6227, 'm', 'J', 8137, 3999, 'I', 'r', 5409, 845, 'd', 't', 'J', 5767, 6585, 2693, 9503]

Ex Output:
n, u, j, V, 7791, 1245, o, n, b, 8031, g, Z, g, 1821, e, P, 8943, R, 3251, d, 1605, 4851