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

Example Input: ['d', 2317, 'y', 8487, 'r', 4789, 5525, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'W', 'U', 5749, 9533, 'T', 'Z', 'x'], [1401, 'F', 9303, 'w', 4629, 9053, 'k', 7351, 1261, '3961', '1747', 'v', '7423', '847', 'a', '4969', 'T', 'L', '5383', 'o', 'q']
Example Output: 3961, 1747, v, 7423, 847, a, 4969, T, L, 5383

Example Input: [4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]
Example Output: J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991

Example Input: [1015, 'H', 6039, 6247, 'e', 'C', 149, 'B', 6351, 8221, 1655, 'l', 'T', 't', 9569, 'q', 5523, 687, 'W', 'J', 'S', 'N', '853', '9421', '147', 'q', '7003', 'P', 'i', '9997', 'P', 'v', '403', 'g', 'J', 'A', 'a', '3251', 'K', '8723', '3651', 'S', '7647', 'w', 4491, 'L', 7875, 'S', 'S', 'd', 8769, 9253, 'm', 4823, 9173, 2741, 2469, 5645, 9585, 'z'], [6101, 't', 'f', 'j', 2757, 8337, 'g', 'N', '853', '9421', '147', 'q', '7003', 'P', 'i', '9997', 'P', 'v', '403', 'g', 'J', 'A', 'a', '3251', 'K', '8723', '3651', 'S', '7647', 'H', 'w', 'Q', 4883, 'B', 'c', 'F', 2541]
Example Output:
N, 853, 9421, 147, q, 7003, P, i, 9997, P, v, 403, g, J, A, a, 3251, K, 8723, 3651, S, 7647