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

Example Input: ['U', 6489, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'I', 'B', 'R', 'N', 9533, 'd'], ['U', 4287, 'f', 'R', 1407, 3893, 6739, 'o', 'e', 'Z', 'G', '8175', 'r', '1915', '8587', '8845', 'Z', 2981, 'i', 'a', 'k', 5909, 'S', 9997]
Example Output: o, e, Z, G, 8175, r, 1915, 8587, 8845

Example Input: ['E', 'V', 5783, 'G', 8167, 7189, 'I', 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'X', 1807, 7157, 'S', 6831, 'T', 805, 'H', 2489, 'S', 'F', 7167, 'Q', 2907, 6863, 'k', 6843, 2527], ['R', 'y', 'k', 8823, 337, 1587, 'S', 'm', 5803, 'Q', 7073, 'A', '5987', 'd', 'u', '5069', 'v', 'i', '7725', '6567', '9085', '347', '4353', 'A', '5711', 'L', 'S', 'S', 'Z', '8949', 'S', 'O', 2883, 'o', 7283, 9175, 'G', 1287, 'u', 4403]
Example Output: A, 5987, d, u, 5069, v, i, 7725, 6567, 9085, 347, 4353, A, 5711, L, S, S, Z, 8949

Example Input: ['T', 2923, 8953, 8511, 501, 'o', 'G', 1077, 'R', '9441', 'n', '9603', 'S', '3155', 'C', '2933', 'U', 'p', 'i', '3517', 'f', '697', '5529', '7201', 'u', 'Q', 'i', 4467, 193, 'E', 9977, 9293, 'g', 'a'], [4363, 'a', 'S', 3511, 8215, 'k', 'H', 8387, 4991, 'l', 2445, 'H', 1383, 'R', '9441', 'n', '9603', 'S', '3155', 'C', '2933', 'U', 'p', 'i', '3517', 'f', '697', '5529', '7201', 'j', 6005, 'Z', 4643, 7489, 4461, 'I', 6067, 'k', 5609]
Example Output:
R, 9441, n, 9603, S, 3155, C, 2933, U, p, i, 3517, f, 697, 5529, 7201