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

Example Input: ['M', 'm', 8571, 'J', 7297, 3761, 35, 8987, 1723, 1719, 1591, 'Z', 3877, '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'X', 2021, 'N', 3259, 'X', 'h', 'v', 7289, 9767, 2785, 7275], ['h', 'w', 'c', 'p', 'y', 'y', 'h', 'X', '6959', '3717', 'y', '4219', '993', 'E', '8809', 'A', 'q', 't', '5583', '6643', 'L', '5605', 'S', 'o', '3071', '1365', 'P', 'k', 'I', 7703]
Example Output: 6959, 3717, y, 4219, 993, E, 8809, A, q, t, 5583, 6643, L, 5605, S, o, 3071, 1365

Example Input: ['v', 1865, 4265, 'k', 3919, '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'D', 817, 'J', 8167, 8877, 'l', 'r', 8675, 'h', 'b', 4225, 8785, 6811], ['w', 4835, 'R', '4767', '4811', 'F', 'N', '217', 'z', 'G', 'M', '6733', '8855', '2983', 'r', '5191', 'Z', 9303, 2325, 'W']
Example Output: 4767, 4811, F, N, 217, z, G, M, 6733, 8855, 2983, r, 5191

Example Input: ['K', 2167, 779, 3201, 2515, 'Q', 'b', 'D', 'Y', 6197, 'o', '667', 'Q', '7787', '8847', '2543', 'h', '7713', '6277', 'W', 'a', '7371', 'b', '1385', '159', 'x', '9557', '3387', 'K', '1301', '1823', '7625', '9727', 'g', 'B', 'M', '887', 'N', 'V', 1363], [9657, 9241, 7549, 8293, 't', 315, 6697, 'o', '667', 'Q', '7787', '8847', '2543', 'h', '7713', '6277', 'W', 'a', '7371', 'b', '1385', '159', 'x', '9557', '3387', 'K', '1301', '1823', '7625', '9727', 'g', 'B', 'M', '887', 'N', 'u', 7977, 'q', 9781, 's', 7841, 4141, 6681, 'W', 'A', 731, 'I', 'b', 'k', 7589, 8581, 1637, 4571, 5693, 3839, 'V', 'O', 4511, 'o', 8213, 'u', 'N', 'q']
Example Output:
o, 667, Q, 7787, 8847, 2543, h, 7713, 6277, W, a, 7371, b, 1385, 159, x, 9557, 3387, K, 1301, 1823, 7625, 9727, g, B, M, 887, N