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

Example Input: ['R', 437, 'S', 'N', 'H', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'B', 3579, 'v', 8529, 'i'], ['w', 'j', 'X', 'G', 'I', 4567, 'H', 'w', 8869, 4535, 'L', 'q', 'u', 'V', 'L', '3615', 'w', 'j', 'N', '6991', '7577', 'O', 'z', 'k', 'F', 'T', '3585', '5505', '5485', 'f', 'R', 155]
Example Output: 3615, w, j, N, 6991, 7577, O, z, k, F, T, 3585, 5505, 5485, f

Example Input: ['z', 883, 9795, 4785, 'R', 927, 6697, 'Y', 'a', 'V', 'r', 'x', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'a', 'o', 'O', 'o', 'o', 'k', 5419], ['L', 4127, 'J', 5701, 'u', 'D', '4987', 'p', 'O', 'w', 'g', 'U', '3989', '8321', '9091', '3263', '2091', '2505', '1055', '5617', '2913', '9717', '4691', 'e', 'g', 'e', 'G', 'U', 4361, 'z', 3019, 'l', 6969, 'z', 1821, 8135, 4831, 4315, 'F', 6801, 185]
Example Output: D, 4987, p, O, w, g, U, 3989, 8321, 9091, 3263, 2091, 2505, 1055, 5617, 2913, 9717, 4691, e

Example Input: ['b', 'P', 'X', 5241, 1263, 9987, 'i', 'O', 'O', '5801', 'k', 'N', '5987', 'P', 'T', '3111', '5179', '9103', '4197', 'W', 'C', 5327, 'J', 4041, 5005, 'D'], [1107, 'Y', 'c', 'V', 2227, 'c', 'U', 'i', 'O', 'O', '5801', 'k', 'N', '5987', 'P', 'T', '3111', '5179', '9103', '4197', 'W', 'S', 3999, 243, 523, 9401, 'G']
Example Output:
i, O, O, 5801, k, N, 5987, P, T, 3111, 5179, 9103, 4197, W