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

Example Input: [7299, 'v', 7279, 'o', 2589, 'K', '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'f', 1935, 'V', 9979, 3301, 'Z', 'J', 521, 871, 'Z', 'R', 7831, 'T', 'h', 3231, 'e', 2391], [7491, 'k', 4137, 'P', 'F', 8159, 'x', 6363, 2449, 7479, 6825, 7107, 'I', 2931, 7047, 9149, '4943', '9427', '7945', '7645', '1709', '6515', '2249', 'l', 'n', 'f', '1935', 'e', 'f', '2977', '8835', 'p', '7753', 'U', '295', 'g', 7147, 2657, 'Z', 'a', 503]
Example Output: 4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295

Example Input: [8523, 2741, 'B', 2283, 2319, 5579, 4895, 1093, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'G', 2491], [17, 6185, '6081', 'w', 'j', 'U', '8951', 'g', '3325', '6587', '4979', 'X', 'x', '8257', 'n', 4549, 'g', 1859, 'f', 'B', 4639, 6413]
Example Output: 6081, w, j, U, 8951, g, 3325, 6587, 4979, X, x, 8257

Example Input: ['u', 6023, 'y', 'M', 'q', 6737], [8759, 5337, 'y', 'M', 'b', 'M']
Example Output:
y, M