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

Ex Input:
['U', 1887, '8423', 'j', '8053', 'g', '5441', 'H', 'j', 3847, 'd', 'J', 1971, 'M'], ['y', 'T', 'C', 'z', 6299, 5393, '8423', 'j', '8053', 'g', '5441', 'H', 'x', 'f', 4189, 'h', 'e', 6577]

Ex Output:
8423, j, 8053, g, 5441, H


Ex 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]

Ex Output:
4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295


Ex Input:
[3601, 3779, 7371, 651, 7991, 3561, 2003, 'C', '9071', '5801', 'o', '4903', 'C', '5743', 'V', '8989', 'F', 'I', '4025', 'g', 8795, 7633], ['N', 2913, 7013, 2037, 'n', 6683, 'K', 'C', '9071', '5801', 'o', '4903', 'C', '5743', 'V', '8989', 'F', 'I', '4025', 'P', 6363, 'd', 'u', 'E', 't', 5085, 4323]

Ex Output:

C, 9071, 5801, o, 4903, C, 5743, V, 8989, F, I, 4025