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: ['C', 1723, 8981, 3173, 3163, 'j', 'L', 4781, 'N', '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'w', 3467, 'j', 6655, 'P', 8443, 9655], ['v', 'W', 5661, 'z', 'm', 8477, '5925', '2501', '9697', 'v', 'C', 'O', 'A', '9205', '8339', '3385', 'S', 6891, 'H', 'B', 8541]
Example Output: 5925, 2501, 9697, v, C, O, A, 9205, 8339, 3385

Example Input: [7313, 9217, 5045, 'A', '477', '3471', 'R', '2245', 'P', '1511', 'M', 'f', 'E', 'u', 5159], [6327, 'E', 'D', 'A', 'K', 'z', 'A', '477', '3471', 'R', '2245', 'P', '1511', 'h', 'n']
Example Output:
A, 477, 3471, R, 2245, P, 1511