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

Example Input: ['N', 'z', 9641, 'z', 'f', 'o', 'L', 'D', 'w', 2793, 'b'], ['Q', 'R', 'z', 'f', 'o', 'L', 'A', 4343, 8711]
Example Output: z, f, o, L

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: ['U', 7755, 2147, 'y', 'k', 4013, 1877, 6383, 'c', 2633, 3467, 1191, 9791, 9021, 5189, 'Y', 'C', '903', '4945', '7325', '4355', '3771', 's', '661', '7413', 'b', 'U', 'b', '7263', '2061', 'S', 'w', 'V', 1843, 3185, 's', 'e', 'z', 'j', 8883, 'H'], ['H', 'c', 5317, 1993, 7759, 7633, 'Y', 'C', '903', '4945', '7325', '4355', '3771', 's', '661', '7413', 'b', 'U', 'b', '7263', '2061', 'R', 't', 3027, 'U', 'F', 3411, 2529, 'e', 9135, 'o', 295, 'f', 'e']
Example Output:
Y, C, 903, 4945, 7325, 4355, 3771, s, 661, 7413, b, U, b, 7263, 2061