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

Input: Consider Input: ['M', 7643, 'K', 8165, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'L', 5655, 5237, 'G', 'H', 'g', 'K', 9089], ['t', 1921, 'e', '6737', '6573', '9181', 'n', 'l', '6555', '7291', '1765', 'Q', '4605', '7507', '6775', 'x', 'n', '8703', 'y', '2301', 'E', 'H', 2771, 7085]

Output: e, 6737, 6573, 9181, n, l, 6555, 7291, 1765, Q, 4605, 7507, 6775, x, n, 8703, y, 2301, E

Input: Consider Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]

Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u

Input: Consider Input: ['x', 'g', 'h', 'J', 2825, 5333, 5677, 6409, '3057', 'I', 'O', '5449', '567', 'y', '2895', '2953', 'u', 5845, 5059, 2587], [2529, 'P', 8729, 1487, 'w', '3057', 'I', 'O', '5449', '567', 'y', '2895', '2953', 'O', 1957, 2221, 'x', 'n', 6149, 't']
Output: 3057, I, O, 5449, 567, y, 2895, 2953