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

[EX Q]: ['n', 'E', '2891', '7537', 'Q', 'J'], [2247, 10017, '2891', '7537', 'e', 1001]
[EX A]: 2891, 7537

[EX Q]: ['p', 'Z', 'Z', 5929, 7441, 'g', 7897, 'p', 4341, 'F', 'c', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'F', 2669, 3809, 645, 6921, 'R', 9767, 'h', 'J', 7893, 'h'], [937, 'a', 'i', '1227', 'p', '6197', 'M', '3549', 'G', '11', '7667', 'T', '7819', 'T', '8965', '4725', 'R', 'Q', '4873', '4701', 'Z', 'q', 'u', 6333, 5793, 'a', 783, 'K', 'R']
[EX A]: i, 1227, p, 6197, M, 3549, G, 11, 7667, T, 7819, T, 8965, 4725, R, Q, 4873, 4701

[EX Q]: ['Z', 6295, 'h', 's', 'p', 'n', 'y', '2955', 'g', 'k', 'e', 'b', 'H', '6911', 'm', '2755', 'q', 'j', 'I', '2349', 'u', 'i', 'p', 'W', '4147', '1165', 'M', 'Y', 'M', 'P', 3157, 3989, 'E', 7521, 8795, 3469, 6881, 3877, 'H', 8527, 1987, 4881, 8725, 4919], [1269, 'B', 283, 8207, 6399, 9027, 9837, 1879, 3673, 3207, 4871, 7465, 2941, 8381, 's', 'p', 'n', 'y', '2955', 'g', 'k', 'e', 'b', 'H', '6911', 'm', '2755', 'q', 'j', 'I', '2349', 'u', 'i', 'p', 'W', '4147', '1165', 'V', 6485, 7111, 8851, 'H', 'A', 4635, 'x', 'c', 571, 5535, 8271, 4461, 849, 5005, 3827, 5869, 'x', 'H', 't']
[EX A]:
s, p, n, y, 2955, g, k, e, b, H, 6911, m, 2755, q, j, I, 2349, u, i, p, W, 4147, 1165