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

Ex Input:
['M', 6637, 'd', 'D', 8611, 'U', 'm', 'y', 8085, 'M', 'W', 4845, 'l', 2477, 'f', 'B', 's', 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'c', 'b', 9083, 9449, 7629, 5633, 3843, 'R', 9421, 2693, 'M', 'b', 3739, 'l', 333], [6017, 'W', 2775, 'W', 4759, 'W', 'q', 'k', 'f', 4299, 5523, 'E', 5391, 'd', 2611, 'l', 5849, 9603, 3831, 'D', '7597', 'S', '2907', 'o', '1905', 'p', 'S', 'C', 'S', '6403', 'D', 'V', '5265', 'L', 'D', '6031', '2585', '7087', '3941', '573', 'o', 4621, 'N', 'c', 'R', 'V', 'p', 'm', 7625, 9815, 'b', 8449]

Ex Output:
D, 7597, S, 2907, o, 1905, p, S, C, S, 6403, D, V, 5265, L, D, 6031, 2585, 7087, 3941, 573


Ex Input:
[435, 5991, 'L', 2351, 5221, 6381, 8655, 'U', 'q', 7163, 1771, 'c', 1181, 'v', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'u', 1721, 'W', 4519, 8045, 7749, 7163], ['z', 'Z', 9691, 'b', 'Y', 'A', 'a', 'q', 7549, 'm', 'x', 's', 'b', 5655, 2087, 'f', 'o', 8235, 1383, 'h', 'O', 7531, 'T', 2283, 'r', '4831', '8155', 'D', '3079', '1677', 'r', '2713', 'k', '9587', '8141', '3037', '21', '9135', '9197', '3459', 'P', '915', 's', '5539', 'h', '599', '9937', 'o', 'C', '1637', '8921', 'P', 4935, 7767, 4325, 755]

Ex Output:
4831, 8155, D, 3079, 1677, r, 2713, k, 9587, 8141, 3037, 21, 9135, 9197, 3459, P, 915, s, 5539, h, 599, 9937, o, C, 1637, 8921


Ex Input:
['H', 'b', 4491, '2907', 'O', 'O', '5191', 'd', '7655', '1431', 'X', 'F', 'N', '4303', 'j', '1901', 'E', 'm', 'C', 'm', 'b', '10017', '8179', '6441', '3193', '7939', '9205', '4315', '8827', '1935', 'V', 'O', 'c', 815, 1569, 'f', 867, 'W'], [3801, 'Y', 'y', 'c', 3801, '2907', 'O', 'O', '5191', 'd', '7655', '1431', 'X', 'F', 'N', '4303', 'j', '1901', 'E', 'm', 'C', 'm', 'b', '10017', '8179', '6441', '3193', '7939', '9205', '4315', '8827', '1935', 'D', 947, 'Q', 3205, 'e', 'z', 'm', 9423, 1775]

Ex Output:

2907, O, O, 5191, d, 7655, 1431, X, F, N, 4303, j, 1901, E, m, C, m, b, 10017, 8179, 6441, 3193, 7939, 9205, 4315, 8827, 1935