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:
['Y', 'z', 5335, 'X', 3843, 'D', 4457, 2327, 'V', 7231, 'y', 4551, 'W', 9241, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'g', 'E', 'D', 'd', 'x', 5331, 7187, 'J', 3839, 't'], [1485, 'f', 8207, 5859, 'D', 'k', 't', 'r', 'z', 613, 9091, 4893, 5755, '7147', '6713', '9717', '8795', '3161', 'V', '1129', '2943', '9809', 'a', '3273', 'y', 'R', 'M', 'Q', 5331, 'c', 3531, 6477, 'a']

Ex Output:
7147, 6713, 9717, 8795, 3161, V, 1129, 2943, 9809, a, 3273, y, R, M


Ex Input:
[5289, 1517, 435, 9347, 'f', 'j', 7297, 1075, '4407', 'V', '5809', 'b', '6521', 'I', 'I', 'H', '9043', 'c', 'r', 8761, 8505, 8067], ['J', 117, 'l', 'k', 'y', 'e', 8747, 'N', 2331, '4407', 'V', '5809', 'b', '6521', 'I', 'I', 'H', '9043', 'Z', 2727, 'L', 'y', 921, 'Z', 'v', 'v']

Ex Output:

4407, V, 5809, b, 6521, I, I, H, 9043