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

Input: Consider Input: ['H', 'u', 't', 'q', 'a', 9875, 'x', 'H', 'X', 8321, 1857, 't', 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'n', 4233, 'u', 'T', 6201, 9687], ['k', 5835, 2739, 'b', 1249, 'T', 8059, 6331, 3427, 417, 'N', 'h', 'q', 'U', 'n', 'k', 't', 'm', 'L', '2313', '5885', 'W', '9357', 'R', '2155', 'g', 'E', 'G', '9247', '8349', '1291', 's', '3501', 's', '9777', '9965', '6443', 'h', 'z', 'j', 9683]

Output: N, h, q, U, n, k, t, m, L, 2313, 5885, W, 9357, R, 2155, g, E, G, 9247, 8349, 1291, s, 3501, s, 9777, 9965, 6443, h

Input: Consider Input: ['Y', 7191, 'w', 'I', 2387, 3493, 'F', 9797, 4797, '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'p', 5525, 3953, 1931, 6723, 7597, 9781, 8621, 'f', 6959, 4341, 5543], [7099, 'h', 'm', 1247, 'F', 2321, 'G', 'c', 'a', 57, 7997, 'Y', '1075', 'i', '2867', '6269', 'X', '8729', 'u', 'X', 'g', '8731', 'L', '3791', 'I', '6677', 'x', 'd', 'k', 3051, 647]

Output: 1075, i, 2867, 6269, X, 8729, u, X, g, 8731, L, 3791, I, 6677, x

Input: Consider Input: [3675, 'c', 5631, 'M', 323, 5653, 'H', 'h', 4989, 'k', 3721, 53, '2257', 'n', '8345', 'K', 'o', 'C', '9299', '1163', '7713', 'N', '5961', '7063', 'g', '6625', 'J', 'K', '5409', '7237', '1887', 'J', 'L', 'Y', 'G', 'b', '3119', 'v', 4779, 'j', 2673, 'y', 'Z'], ['y', 3451, 2477, 'v', 841, '2257', 'n', '8345', 'K', 'o', 'C', '9299', '1163', '7713', 'N', '5961', '7063', 'g', '6625', 'J', 'K', '5409', '7237', '1887', 'J', 'L', 'Y', 'G', 'b', '3119', 'x', 'j', 'e', 'H', 't', 'Y', 'D', 9593, 'a', 'U', 'L', 'B', 5357, 1349, 'I', 3463, 'Q', 'Z', 8639, 4061, 5579]
Output: 2257, n, 8345, K, o, C, 9299, 1163, 7713, N, 5961, 7063, g, 6625, J, K, 5409, 7237, 1887, J, L, Y, G, b, 3119