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

Ex Input:
[6987, 'F', 'j', 'E', 'P', 947, 823, 'P', 4655, 'C', 'l', 'R', 'z', 5705, 'I', 'H', 'y', 2167, 7443, 'E', 'F', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'D', 'y', 665, 'P', 'k'], [4453, 'F', 'b', 1309, 'm', 'H', 'd', '567', '1385', 'd', '1013', 'Q', '3983', '5891', '6397', '1701', 'd', 'v', 'N', '4551', '9415', '5691', 'n', '3435', '1485', 'u', 'Q', '3191', 'p', 'f', 7091]

Ex Output:
d, 567, 1385, d, 1013, Q, 3983, 5891, 6397, 1701, d, v, N, 4551, 9415, 5691, n, 3435, 1485, u, Q, 3191


Ex Input:
[5577, 'V', 'R', 7749, 'P', 7921, 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 'H', 'L', 4377, 'z', 6727, 'm', 'S', 5001, 'F', 'h', 'j', 8457], [1021, 9597, 6541, 'c', 'B', '6205', '245', 'j', '6015', '7139', '7495', '3061', '4683', 'v', 'X', 'U', '7019', '4943', '8111', 'A', 'E', '655', '8197', '9847', 'j', 'D', 't', 603, 'y', 5235, 'U', 'b']

Ex Output:
B, 6205, 245, j, 6015, 7139, 7495, 3061, 4683, v, X, U, 7019, 4943, 8111, A, E, 655, 8197, 9847, j, D


Ex Input:
['a', 'k', 41, 263, 5199, 6393, 8525, 6893, 's', 'v', 1283, 'k', 'H', 'q', 'a', '2581', '7943', 'x', '2281', '9785', 'V', '6443', 'E', 'Z', '8763', '4951', 'M', '2941', '9049', '2249', 'W', '2249', 'O', '3783', '2011', '8569', 'G', 'r', 's', 'V', 'E', 'J', 'D', 4413, 6725, 'Y'], [3363, 3765, 7179, 3425, 'o', 5633, 5031, 'T', 1751, 'S', 'z', 'J', 'V', 'K', 5789, 'u', 'N', 2255, 1223, 'H', 'q', 'a', '2581', '7943', 'x', '2281', '9785', 'V', '6443', 'E', 'Z', '8763', '4951', 'M', '2941', '9049', '2249', 'W', '2249', 'O', '3783', '2011', '8569', 'y', 3915, 1081, 4203, 'M', 5641, 1953, 3733, 7483, 'a', 'P', 'w', 7715, 'b', 3281, 6971, 4179, 'O', 4955, 'f', 2343, 185, 9329]

Ex Output:

H, q, a, 2581, 7943, x, 2281, 9785, V, 6443, E, Z, 8763, 4951, M, 2941, 9049, 2249, W, 2249, O, 3783, 2011, 8569