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

Example Input: ['x', 9249, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'J', 10001, 'A', 225, 1607, 'a', 'h', 6377], [375, 'D', 4093, 'g', 735, 955, 'c', 9937, 2987, 7035, 'X', 7703, 9937, 'Y', 3849, 2197, 4731, 'X', 'o', '7637', 'q', 'S', '733', '1483', 'T', '7653', 'F', '7879', 'k', '1881', 'Q', 'J', '4517', 'n', 'q', '1919', '381', '4725', 'Y', 'K', 's', 1667, 9723, 3697, 1759, 3243, 'r', 'v', 'Z']
Example Output: X, o, 7637, q, S, 733, 1483, T, 7653, F, 7879, k, 1881, Q, J, 4517, n, q, 1919, 381, 4725

Example 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']
Example Output: J, m, 815, i, 8555, 2391, M, c, c, h, 2677, 4129, y, 3999, n, Z, W, 9019, 5685, g, e, D, 3315

Example Input: ['n', 'B', 9073, 2685, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'Z', 'i', 643, 5111, 2247, 'a', 'D', 'd', 1549, 'y', 513, 9369], ['Q', 'n', 'z', 9967, 'S', 9781, 1179, 'f', 5261, '3289', '9837', '4995', 'e', '3075', 'm', '1005', '2279', 'P', '3949', '643', 'y', '6717', 'I', '891', 'k', 'G', 215, 'Q', 4821, 9073]
Example Output:
3289, 9837, 4995, e, 3075, m, 1005, 2279, P, 3949, 643, y, 6717, I, 891, k