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:
['w', 'Z', 8573, 'o', 'D', 'J', 5037, 2641, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'G', 'P', 6189, 7671, 5677], ['P', 1411, 'O', 'T', '9477', 'u', 'n', 'x', '693', 'o', 'l', '9113', '3117', '3743', '1889', 'P', 'K', 'l', 'U', 2505, 3803, 9459, 'H', 1427, 1453, 'g']

Ex Output:
O, T, 9477, u, n, x, 693, o, l, 9113, 3117, 3743, 1889

Ex Input:
[4849, 3275, 'b', 1057, 'i', 7859, 'P', '1225', '1039', '2183', 'M', '5451', 'e', 'B', '4085', '3427', 'X', '1227', '6011', 'l', 4089, 6275, 2131, 'U', 4821], [6917, 3331, 7639, 'W', 9763, 3741, 'H', 2179, '1225', '1039', '2183', 'M', '5451', 'e', 'B', '4085', '3427', 'X', '1227', '6011', 'y', 6175, 1605, 1171, 'J', 'E']

Ex Output:
1225, 1039, 2183, M, 5451, e, B, 4085, 3427, X, 1227, 6011