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

Ex Input:
['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

Ex Output:
7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M


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:
[3787, 3251, 7239, 3021, 'V', 499, 373, 3625, 2489, 5289, 1077, 'V', 'A', 'b', '8985', '6251', 'w', 'L', 'P', 'C', '4407', 'R', '3905', '9651', '1413', '5987', 'J', '7373', 'y', 't', '2339', 'S', 2451, 'U', 8551, 'A', 107, 2451, 'f', 9883, 'x', 6205, 217, 4833, 'i'], [8775, 1127, 'O', 4299, 3557, 'o', 'C', 8189, 8357, '8985', '6251', 'w', 'L', 'P', 'C', '4407', 'R', '3905', '9651', '1413', '5987', 'J', '7373', 'y', 't', '2339', 'a', 'b', 'G']

Ex Output:

8985, 6251, w, L, P, C, 4407, R, 3905, 9651, 1413, 5987, J, 7373, y, t, 2339