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

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: [8733, 'v', 'p', 5209, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'b', 3779, 5973, 'i', 5921, 'N', 5057, 'A', 2577, 'Z', 1771, 'a', 1067, 'n', 'R', 'g', 4261, 2179, 6831, 4749], [9955, 4173, 5331, 5307, 8589, 7067, 'u', 8543, '4029', 'C', 'c', '3735', 'F', 'P', '6489', 'x', 'R', '8225', 'S', 'O', '8797', 'b', '2799', '4967', '653', 'k', '8993', '493', 'O', 'e', 3355, 6925, 4047, 1911, 9227, 'F', 'b', 6205, 'S', 'm', 'E', 'a', 8093, 277]
Example Output: 4029, C, c, 3735, F, P, 6489, x, R, 8225, S, O, 8797, b, 2799, 4967, 653, k, 8993, 493, O

Example Input: ['c', 1269, 'P', '2351', 'd', '1789', '6107', '2605', 'v', 'j', 'v', 'C'], [779, 'Y', 1789, 'G', 'e', 7595, 'A', 'P', '2351', 'd', '1789', '6107', '2605', 'v', 'q', 1455, 2673]
Example Output:
P, 2351, d, 1789, 6107, 2605, v