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: [7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
Example Output: 5913, X, 5591, o

Example Input: ['l', 7331, 'b', 7563, 'K', 8139, 7019, 'g', 9743, 5063, 4213, 2721, 6971, 'F', 'a', 4455, 6945, '8421', '5767', 'P', 'y', 'k', 'U', '4099', '1639', 'M', '2415', '7821', '9365', 'O', 'r', '5485', 'J', '2813', 'k', '7481', '5221', '9233', 'O', 'B', 'M'], [4435, 'u', 'y', 'o', 'Z', 'B', 6853, 'y', 'U', 'n', 'W', 'd', 2125, '8421', '5767', 'P', 'y', 'k', 'U', '4099', '1639', 'M', '2415', '7821', '9365', 'O', 'r', '5485', 'J', '2813', 'k', '7481', '5221', '9233', 'O', 'u', 'X', 'E', 'U', 6691, 1867, 7289, 8993, 'K', 't', 'X', 5817, 'k', 3403]
Example Output:
8421, 5767, P, y, k, U, 4099, 1639, M, 2415, 7821, 9365, O, r, 5485, J, 2813, k, 7481, 5221, 9233, O