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

[EX Q]: [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 A]: 4943, 9427, 7945, 7645, 1709, 6515, 2249, l, n, f, 1935, e, f, 2977, 8835, p, 7753, U, 295

[EX Q]: [8235, 6785, 'P', 'N', 'y', '5503', '6065', '2039', 'Q', 'o', 'F', 7791, 'R', 'm', 3633], ['s', 863, 'z', 'y', '5503', '6065', '2039', 'Q', 'o', 'o', 6907, 5837, 's', 2553]
[EX A]: y, 5503, 6065, 2039, Q, o

[EX Q]: [1789, 2771, 'N', 'H', 'K', 9423, 5581, 9809, 'r', 'q', 'D', 'i', 'm', '9999', 'r', '5021', '7663', '1523', 'G', 'f', '2457', 'J', 'p', 'E', 9373, 'E', 5795, 4737, 'G', 7861, 'p', 'u'], [6977, 'N', 8071, 3719, 'C', 'd', 5073, 'r', 85, 'k', 7995, 'D', 'i', 'm', '9999', 'r', '5021', '7663', '1523', 'G', 'f', '2457', 'l', 'P', 'U', 2699]
[EX A]:
D, i, m, 9999, r, 5021, 7663, 1523, G, f, 2457