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

Ex Input:
[9673, 'V', 'q', 8183, 4703, '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'Q', 1263, 'd', 'S'], [3777, 'a', 't', 'b', 'P', 'L', 3443, 6611, 1651, 'G', '9707', 'Y', '7685', 'o', 'b', 'a', 'g', 'R', '551', 'W', 'E', 'y', 'U']

Ex Output:
9707, Y, 7685, o, b, a, g, R, 551, W


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:
[3585, 3351, 'I', 'Y', 'v', 1275, 'U', 'w', 'e', 5383, 5043, 'G', 4301, 5255, 'w', 'S', 7253, 'C', 'V', 'p', 'D', '8747', 'B', 'W', '4517', 'A', 'y', '9163', 'l', 't', '8235', '4029', '9421', '6149', '4779', 'Q', '5353', '6251', '9621', '9067', '4945', 'Q', 'R', 'C', 'b', 'L', 'U', 'n', 'E', 10015, 8425, 'O', 'W', 9589, 2529, 'U', 183, 'q', 2445, 'i', 'e', 8609, 3459, 8451, 171, 1835, 7905], ['Z', 'm', 'h', 'p', 'Z', 6995, 6201, 'D', '8747', 'B', 'W', '4517', 'A', 'y', '9163', 'l', 't', '8235', '4029', '9421', '6149', '4779', 'Q', '5353', '6251', '9621', '9067', '4945', 'Q', 'R', 'C', 'b', 'L', 'a', 'd', 2635]

Ex Output:

D, 8747, B, W, 4517, A, y, 9163, l, t, 8235, 4029, 9421, 6149, 4779, Q, 5353, 6251, 9621, 9067, 4945, Q, R, C, b, L