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

Example Input: [8377, 'Q', 5191, 'h', 2277, 2989, 'W', '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'q', 'L', 8201, 'e', 585, 'h', 'G', 'T', 3401, 'd', 'l', 'o'], [8059, 'f', 'D', 'l', 7863, 'k', 'G', 'C', 'd', 'Z', 'Z', 'A', 895, '7491', '593', '335', '4807', 'X', '6677', 'M', 'p', 'Y', '7747', 'j', '7155', '3591', '7715', 'I', '4975', '4979', '6273', '9479', 'w', '1781', 'x', 'v', 4061, 'O', 'd', 'q', 'r', 1301, 4515, 4365, 1631, 'N', 'L', 6353, 'k', 2393, 4333, 3241, 1043]
Example Output: 7491, 593, 335, 4807, X, 6677, M, p, Y, 7747, j, 7155, 3591, 7715, I, 4975, 4979, 6273, 9479, w, 1781

Example Input: [3539, 6661, 127, 883, 'j', 'i', 9169, 4635, '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'Q', 'H', 'Q', 4829, 'h', 'e', 'L', 6905, 't'], [7275, 1425, 'r', 'G', 'c', 's', 'W', 'L', 'C', 'o', '8533', 'w', 'B', 'x', '8345', '1367', '8023', '4489', '5083', 'A', '2295', '2737', 'z', 'V', 4703, 'c']
Example Output: 8533, w, B, x, 8345, 1367, 8023, 4489, 5083, A, 2295, 2737

Example Input: ['T', 'K', 'K', 831, 7039, 6393, 3949, 4565, 'B', 'V', 5713, 8133, 5931, 'l', 9897, 'R', 's', 'p', 2025, 8967, '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'N', 5445, 'm', 'w', 7321], [1477, 'D', 8351, 4141, 'v', '5331', '5893', 'J', '4873', 'q', '7661', '373', '687', 'm', 'Q', 'w', 'o', '1535', '4357', 'R', 'f', 'h', 'L', 'f', 'R', 'P', '301', 'j', 331, 'N', 'K', 6171, 3731, 'G', 'W', 'I', 'q', 8661, 7391]
Example Output:
5331, 5893, J, 4873, q, 7661, 373, 687, m, Q, w, o, 1535, 4357, R, f, h, L, f, R, P, 301