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

Ex Input:
['z', 3279, 'C', 'F', 9153, 'E', 417, 'P', 6405, 1849, 4819, 'V', 4497, 2031, 'L', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'L', 'i', 5651, 'y', 'L', 2993, 2605, 6805, 'w', 5731, 'Q', 9359, 'Y', 4267, 2985], ['F', 'x', 5427, 4915, 2541, 'H', 'S', 8953, 'L', 7911, 'b', 'I', 1945, 859, 'i', 'g', '8015', 'D', 'b', '3659', 'P', 'm', '6013', '6583', '6705', '8449', 'a', 'X', '2087', 'Y', 'N', 1971, 'a']

Ex Output:
g, 8015, D, b, 3659, P, m, 6013, 6583, 6705, 8449, a, X, 2087, Y


Ex Input:
[5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]

Ex Output:
w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695


Ex Input:
['E', 'm', 'z', 4047, 'm', 'K', 'b', '9041', 'E', 'E', '3053', 'b', 'n', '6623', '193', '7147', '9651', '5743', '7547', '4707', 'r', '5927', 'T', 4919, 3045, 'v'], ['r', 4439, 'O', 2157, 2253, 'D', 8143, 8441, 'F', 9945, 'A', 'J', 'D', 'D', 'h', '9041', 'E', 'E', '3053', 'b', 'n', '6623', '193', '7147', '9651', '5743', '7547', '4707', 'r', '5927', 'i', 7583, 'H', 'E', 'N', 'C', 1613, 5555, 'y', 'D', 'w', 6151, 6093]

Ex Output:

9041, E, E, 3053, b, n, 6623, 193, 7147, 9651, 5743, 7547, 4707, r, 5927