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

Example Input: [9369, 5975, 'W', 'd', 'I', 6029, 3693, 'I', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'w', 'k', 'B', 'o', 'T', 4201, 7599, 'c', 'W'], ['p', 'p', 'L', 'J', '8101', 'K', '5209', 'l', 'v', 'W', '4841', '6399', 'T', 'F', 'k', '2165', 'Y', 'P', 8947, 'q']
Example Output: 8101, K, 5209, l, v, W, 4841, 6399, T, F, k, 2165

Example Input: ['X', 'U', 'Z', 9489, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'U', 'p', 'R', 609, 4535, 4269, 8941, 'I', 2091, 'Q'], [3721, 8573, 8821, 6095, 1215, 1195, '4623', 'M', 'd', '5977', '7669', '8583', '2455', 'D', 'j', 'c', 'L', 'm', 'q', 'j', 697, 3367, 'R']
Example Output: 4623, M, d, 5977, 7669, 8583, 2455, D, j, c

Example Input: [8381, 'H', 'h', 'U', 2413, 'X', 8097, 5313, 'W', '3743', '517', '2251', 'J', 'R', '5217', 'b', 'G', 'n', '2225', '7893', '8265', 'Q', '2995', 'V', '6333', '2975', '3585', 'y', '6971', '6379', 'j', 'X', 4283, 3997, 7993, 'E', 5471, 'S', 7665, 3651, 9965, 3551, 'f', 'm', 3903, 257, 'B', 'V', 'P'], ['Q', 'r', 'w', 2107, '3743', '517', '2251', 'J', 'R', '5217', 'b', 'G', 'n', '2225', '7893', '8265', 'Q', '2995', 'V', '6333', '2975', '3585', 'y', '6971', '6379', 'f', 8009]
Example Output:
3743, 517, 2251, J, R, 5217, b, G, n, 2225, 7893, 8265, Q, 2995, V, 6333, 2975, 3585, y, 6971, 6379