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

Ex Input:
['r', 'X', 7017, 'D', 2235, 'p', 'i', 3287, 'z', '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'W', 4175, 5695, 'r', 9809, 8187, 'G'], [8989, 2959, 7907, 'F', 2481, 'Q', 9095, '9245', 'S', '8055', '1843', '147', '4353', '9543', '9247', '6361', '609', 'v', 'z', '4349', 'd', '6611', '5101', 'G', 'g', 5163, 'B', 2487, 'r', 'j', 'l', 293, 'Z']

Ex Output:
9245, S, 8055, 1843, 147, 4353, 9543, 9247, 6361, 609, v, z, 4349, d, 6611, 5101, G


Ex Input:
['g', 6485, 9363, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'V', 'K', 2283, 7681, 'G', 1655, 'Y', 5095, 'b', 'x', 'V'], ['N', 'b', 'd', 't', 6171, 3157, 'y', 7821, 8523, 9675, 'd', 'C', '7381', 'E', '3625', '8935', '4975', '4199', 'w', '4225', '9911', '4731', 'G', 6357, 2383, 'j', 'N', 383]

Ex Output:
d, C, 7381, E, 3625, 8935, 4975, 4199, w, 4225, 9911, 4731


Ex Input:
[3485, 'q', 7635, 5997, 'l', 'B', 173, 1127, 6233, 6167, 'R', 1225, 5447, 'B', 'B', 2271, 5037, 'G', 'T', '3995', 'd', 'B', 'c', '8281', '7721', 'y', 'M', 'h', 'K', 'C', '9265', '1451', 'X', '9581', 't', '9563', 'B', '2547', 'b', 'A', 'l', 'I', 923, 'F', 1727, 'a', 'v', 1879], [3201, 327, 'T', '3995', 'd', 'B', 'c', '8281', '7721', 'y', 'M', 'h', 'K', 'C', '9265', '1451', 'X', '9581', 't', '9563', 'B', '2547', 'b', 'A', 'O', 1573, 'J', 'I', 7271, 5575, 3941, 2365, 'R', 8335, 'K', 1857, 'q', 8121, 'R', 'L', 6493, 9067, 5849, 'x']

Ex Output:

T, 3995, d, B, c, 8281, 7721, y, M, h, K, C, 9265, 1451, X, 9581, t, 9563, B, 2547, b, A