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

Ex Input:
['C', 'b', 'L', 9325, 'M', 'p', 7813, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'Q', 4393, 'x', 5071, 6297], [347, 'W', 8317, 'm', 655, 2215, 9489, 9125, 7317, 'J', '1879', 'l', '6011', '8425', '5761', '8567', '529', '3079', '2611', '9387', '909', '751', 'L', 6565, 5537, 'C', 'S', 543, 5541, 'Z', 'q', 'W', 8259, 9311]

Ex Output:
J, 1879, l, 6011, 8425, 5761, 8567, 529, 3079, 2611, 9387, 909, 751

Ex Input:
[2433, 'X', 8485, 1927, 2127, 8173, 7755, 4795, 4389, 1533, 'F', 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'z', 'S', 'P', 75, 7819, 'j', 'm', 6861, 'R', 3931, 167, 9437, 'q', 5607, 'S', 5939, 'D', 'p', 'w', 689, 4265], [1169, 'I', 'E', 'Q', 9433, 99, 'S', 2367, 7367, 8127, 'I', 3203, 'f', 'n', 4635, 'J', 'm', '815', 'i', '8555', '2391', 'M', 'c', 'c', 'h', '2677', '4129', 'y', '3999', 'n', 'Z', 'W', '9019', '5685', 'g', 'e', 'D', '3315', 'E', 'J']

Ex Output:
J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315

Ex Input:
[969, 507, 1485, 'O', 'w', 9717, 'o', 'P', '3001', 'S', 'z', '6615', 'A', '949', '3687', 'x', 'a', 'D', 5319], [3479, 'J', 'J', 7971, 'P', '3001', 'S', 'z', '6615', 'A', '949', '3687', 'x', 'O', 'Q', 'F', 6217, 'a', 573, 1725, 7475, 'E']

Ex Output:
P, 3001, S, z, 6615, A, 949, 3687, x