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

Ex Input:
[7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']

Ex Output:
6533, o, 47, 6333


Ex Input:
['v', 1629, 't', 'y', 'R', 'k', 10021, 7155, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'o', 3491, 'z', 'i', 6959, 865], ['Q', 5541, 6301, '7241', '8007', 'N', '4295', 'O', '6233', '6893', '3293', 'J', '789', '85', '2423', 'D', 3297, 8731, 8807, 99, 'h', 3177, 2689, 'H', 'u', 'S', 833]

Ex Output:
7241, 8007, N, 4295, O, 6233, 6893, 3293, J, 789, 85, 2423


Ex Input:
['v', 9023, 'Y', 'I', 8221, 'P', 19, 'c', '3397', 'u', 'x', '9243', '6109', 'L', 's', 'R', '6235', '1051', 'W', '7475', 'I', '1547', 'f', '1423', '3109', '6113', 'h', 'a', '5037', 'U', 'A', 'n', 'G', 'y', 'o', 6853, 'Q', 601, 3397, 'h', 2709, 2735, 'I', 'l'], [9287, 3721, 'V', 4015, 8289, 785, 'Q', 7965, 6545, 9563, 2755, 'y', 5893, 3069, 3419, 6761, 'z', 9067, 8425, 9179, 3589, 'f', 'p', 'M', '3397', 'u', 'x', '9243', '6109', 'L', 's', 'R', '6235', '1051', 'W', '7475', 'I', '1547', 'f', '1423', '3109', '6113', 'h', 'a', '5037', 'U', 'A', 'n', 'G', 'b', 'F', 'r', 'G', 'E']

Ex Output:

3397, u, x, 9243, 6109, L, s, R, 6235, 1051, W, 7475, I, 1547, f, 1423, 3109, 6113, h, a, 5037, U, A, n, G