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

Example Input: [37, 2553, 'G', 'a', 325, 613, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'q', 7043, 'a', 'n'], [3683, 'D', 'l', 'G', 'T', 'Z', 'i', 9075, 'M', 'Y', 5963, '4953', '1589', 'W', 'A', 'n', '5241', 'r', '1599', 'a', '6129', 'J', 'H', 'F', 'r', 'u', 'C', 'Q', 'W', 2181, 'O', 'Q', 'D', 5703, 3461]
Example Output: 4953, 1589, W, A, n, 5241, r, 1599, a, 6129, J, H, F, r, u

Example 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]
Example 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

Example Input: ['C', 9647, 'S', 'O', 'o', 3787, '8953', 'N', '6831', 'w', 'u', '439', 'J', 'p', '3549', 'M', 3895, 'G', 955, 8725, 473, 9831], ['H', 2963, 2917, 'j', 2779, 1049, '8953', 'N', '6831', 'w', 'u', '439', 'J', 'p', '3549', 'X', 'f', 'U', 8507, 'U', 1159, 'D', 3215, 7515]
Example Output:
8953, N, 6831, w, u, 439, J, p, 3549