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

Ex Input:
['R', 'k', 'g', 4045, 'W', '4923', '9161', '4031', '7443', 'f', 'U', 2683, 'Y'], [943, 'v', '4923', '9161', '4031', '7443', 'f', 't', 'm', 9213]

Ex Output:
4923, 9161, 4031, 7443, f

Ex Input:
[3401, 5903, 'T', 'n', 'S', 8377, 6691, 'K', 5635, 'g', 'O', 8775, 6893, 'L', '9425', '5485', '1205', 'P', 'S', 'l', 'o', 'j', '4881', '3699', 'v', '981', 't', 'd', '5495', '6819', '4823', 'd', 'A', 'n', 6869, 3403, 235, 343], [1519, 's', 'T', 'L', '9425', '5485', '1205', 'P', 'S', 'l', 'o', 'j', '4881', '3699', 'v', '981', 't', 'd', '5495', '6819', '4823', 'M', 'I', 'S', 5889, 'u', 5331, 'N', 'K', 5203, 5517, 9501, 'B', 8581, 'L', 4789, 's', 'g']

Ex Output:
L, 9425, 5485, 1205, P, S, l, o, j, 4881, 3699, v, 981, t, d, 5495, 6819, 4823

Ex Input:
['r', 8471, 9713, 'X', 'a', 'H', 6451, '7397', '7989', '4257', '2439', 'X', 'D', '8359', 't', '2907', 'd', '3199', '4095', '8919', '4613', '5145', '8581', 'y', 'h', '6397', '8887', 'w', 'c', 'i', 'a', 'l', 'k', 'F', 8213, 7363, 5595, 1185, 't', 4931, 'I', 641, 1107, 6907, 'Y', 2093, 'A'], [1915, 'e', 'j', 1619, 7209, 'F', 5637, 'N', 9261, 'O', 'p', 6509, '7397', '7989', '4257', '2439', 'X', 'D', '8359', 't', '2907', 'd', '3199', '4095', '8919', '4613', '5145', '8581', 'y', 'h', '6397', '8887', 'p', 'l', 'I', 4557, 'Z', 'i', 'T', 'A', 'q', 6401, 9881, 'w']

Ex Output:
7397, 7989, 4257, 2439, X, D, 8359, t, 2907, d, 3199, 4095, 8919, 4613, 5145, 8581, y, h, 6397, 8887