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

Example Input: ['b', 'Z', 'n', 'O', 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'k', 833, 9001], [6221, 'H', 'w', 6543, 'o', 1523, 'W', 6091, 'T', 7021, 8161, 1111, 4653, 'x', 'K', 'J', '5997', '8241', 'O', '9965', 'n', '6043', 'p', '8943', 'F', 'O', '2181', 'j', 5791, 3573, 9639, 'a', 4089, 5045, 'e', 'i', 'S', 3157, 1767, 2199, 'P']
Example Output: x, K, J, 5997, 8241, O, 9965, n, 6043, p, 8943, F, O, 2181

Example Input: ['J', 'G', 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'm', 't', 'z', 9681, 'z'], ['Q', 4625, 4609, 2245, 'h', 'z', '6979', 'W', 'W', '7681', 's', '8827', 'A', 9751, 'U', 7397]
Example Output: h, z, 6979, W, W, 7681, s, 8827

Example Input: [9165, 'm', 3053, 3579, 'l', 'J', '1115', 'W', '5955', 'V', '5821', 'w', 'R', 'K', 2485, 'V', 't'], [715, 'R', 6677, '1115', 'W', '5955', 'V', '5821', 'w', 'R', 'p', 2599, 1713]
Example Output:
1115, W, 5955, V, 5821, w, R