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

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: [2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']
Example Output: 8427, 2933, x, 2689, 9305, L, 9263, 2671

Example Input: [431, 'E', 'w', 6105, 1733, 'e', '6369', 'M', 'x', 'u', '5469', '8193', 'U', 'w', 'c', 6751, 'd', 'Y', 9829, 'K', 9475], [7987, 'N', 'o', 'v', 549, 1225, 'f', 'e', '6369', 'M', 'x', 'u', '5469', '8193', 'U', 'w', 439, 'V', 'u', 'E']
Example Output:
e, 6369, M, x, u, 5469, 8193, U, w