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

Ex Input:
[9711, 6103, 3531, 3623, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'b', 6001, 'b', 2477, 'd', 'y', 'C', 9605], ['j', 'P', 'W', 9073, 'u', '6995', 'R', 'p', 'p', 'p', '8519', '4447', 'X', 8365, 9899, 'H', 'T', 4049, 'Z', 'w']

Ex Output:
u, 6995, R, p, p, p, 8519, 4447


Ex Input:
['w', 'Z', 8573, 'o', 'D', 'J', 5037, 2641, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'G', 'P', 6189, 7671, 5677], ['P', 1411, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'P', 'K', 'l', 'U', 2505, 3803, 9459, 'H', 1427, 1453, 'g']

Ex Output:
O, T, 9477, u, n, x, 693, o, l, 9113, 3117, 3743, 1889


Ex Input:
[927, 5763, 'L', 1209, 757, 'd', 'H', '2777', 'G', '7725', '7359', '2117', '447', 'p', '3883', '6539', 'Y', 'o', 909, 'F', 'f', 1939, 1413, 1879, 5493], [1527, 4443, 'M', 3203, '2777', 'G', '7725', '7359', '2117', '447', 'p', '3883', '6539', 'F', 2451, 7115, 5441, 'e']

Ex Output:

2777, G, 7725, 7359, 2117, 447, p, 3883, 6539