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

Example Input: [2945, 6951, 2771, 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'd', 4197, 'j', 'p', 'z', 1911, 'w', 6663, 7993, 5973, 3193, 7387, 'h', 'e', 8663, 2715], ['U', 'a', 'f', 7179, 7859, 'C', 6081, 2069, 3459, 'm', 'w', 'k', 'q', 'k', 'G', '7377', 'd', 'a', 'p', 'J', 'c', 'R', '6641', 'a', '2235', '3033', '3189', '7299', 'h', 'T', '5111', 'k', 'e', 'v', 'f', 5943, 8771, 'K', 'i', 'c', 'x', 7745, 'F', 'x', 3855, 'S', 5113, 1205]
Example Output: k, G, 7377, d, a, p, J, c, R, 6641, a, 2235, 3033, 3189, 7299, h, T, 5111, k

Example Input: [2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]
Example Output: 3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739

Example Input: ['X', 'G', 8583, 8171, 'T', 8559, '2859', '9375', 'n', '5793', '3091', 'r', 'D', '3861', '1661', '3545', '7163', 'a', 'H', '5935', 'k', '8791', '5419', '513', '8377', '8901', '1949', 'n', 1961, 'N', 'p', 1317, 5463, 'e', 2581], [8977, 1569, 6611, 1031, 3729, 4823, 6483, 'T', 4991, 4793, 'e', 'm', 'N', 1043, 4969, 'm', 7567, 405, 'h', 7207, '2859', '9375', 'n', '5793', '3091', 'r', 'D', '3861', '1661', '3545', '7163', 'a', 'H', '5935', 'k', '8791', '5419', '513', '8377', '8901', '1949', 'C', 6667, 7951, 'e', 4681, 5915, 6807, 'C', 6119, 'V', 'r']
Example Output:
2859, 9375, n, 5793, 3091, r, D, 3861, 1661, 3545, 7163, a, H, 5935, k, 8791, 5419, 513, 8377, 8901, 1949