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

Ex Input:
['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']

Ex Output:
4623, M, d, 5977, 7669, 8583, 2455, D, j, c

Ex Input:
['w', 'i', 5729, 'G', 8651, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'R', 'A', 5949, 8347, 9169, 'N', 9753, 4353, 9447, 5747, 4347, 'f', 8247, 'D', 'y'], ['b', 'd', 237, 'y', 9735, 'M', 'j', 'f', 9789, 'x', 4217, '1845', 'a', '715', 'O', '3649', 'w', '8821', '2545', '1011', 'u', '895', '4133', 'n', '3759', 'w', 'X', 'E', 'e', 4021, 7065, 1651, 'n']

Ex Output:
1845, a, 715, O, 3649, w, 8821, 2545, 1011, u, 895, 4133, n, 3759, w, X

Ex Input:
[1287, 'X', 3945, 6103, 1055, 'H', 7375, '4283', '7527', 'd', 'q', 'q', 's', 't', '1733', 'd', '4441', '713', '3043', '1581', '3035', 'M', '4049', '2337', 't', '4845', '2989', '10023', '4625', '1535', 'O', '7505', 'X', 'v', 'N', 'w', 7541, 8485, 'C', 'e', 9501], ['m', 'c', 5783, 'F', 'G', 1491, 'k', 1815, 5337, 8009, 4703, 6051, 'B', 8665, 7395, 4589, 'W', 4403, 6329, 'J', 'b', '4283', '7527', 'd', 'q', 'q', 's', 't', '1733', 'd', '4441', '713', '3043', '1581', '3035', 'M', '4049', '2337', 't', '4845', '2989', '10023', '4625', '1535', 'O', '7505', 'X', 'Y', 'D', 'D', 639, 3999, 525, 1737, 2143, 9909]

Ex Output:
4283, 7527, d, q, q, s, t, 1733, d, 4441, 713, 3043, 1581, 3035, M, 4049, 2337, t, 4845, 2989, 10023, 4625, 1535, O, 7505, X