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

Example Input: ['H', 'z', 'i', 2235, 'F', 7863, 5279, 6871, 6305, 545, 'i', 'x', 1179, 4813, 7929, 9261, 'm', 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 's', 'Z', 'G', 6405, 1707], [9085, 4723, 'q', 'i', 'w', 5997, 'w', 'H', 'N', 'v', 4797, 5633, 7441, 'O', 9121, 'h', 9939, 'w', '8797', '6621', 'o', '9615', 'Q', '3235', '5995', '939', 't', 'T', 'g', 'c', '4047', 'm', 'V', 'P', '8637', 'o', 2775, 5765, 'H', 309, 609, 9481, 'x']
Example Output: w, 8797, 6621, o, 9615, Q, 3235, 5995, 939, t, T, g, c, 4047, m, V, P, 8637

Example Input: [7577, 'i', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'Z', 11, 6915, 'n', 'j', 113, 6505, 6281, 2205], ['Q', 'V', 'A', '8411', 'N', '4691', '3661', '9511', 'T', 'v', 'D', 'H', 'A', '6551', 'v', '605', '2753', '2475', 'N', 'S', 'z', '9773', 'n', 'J', 'c', 5873, 1693]
Example Output: 8411, N, 4691, 3661, 9511, T, v, D, H, A, 6551, v, 605, 2753, 2475, N, S, z, 9773, n

Example Input: ['M', 1247, 9155, 'c', 'E', 7913, 'G', 9651, 'D', 'K', 5787, 1951, '5947', 'X', '4993', '5793', 'i', '707', 'p', 'n', 'j', 'p', 's', 'a', 'R', 'I', 'o', '5171', 'L', '8749', '5421', '2997', '9873', '7823', 'D', '5425', '7593', '2641', '8485', 'w', 'S', 5669, 8185, 6637, 'R', 3173, 3455, 'j', 2755, 6589, 4553, 'A', 'z', 2337, 'k', 7045, 6521, 'T', 6255], ['K', 'J', 'K', 1597, 'R', 8473, 4395, 8433, 'E', 7575, 'k', 5053, 'H', 'Z', 8393, '5947', 'X', '4993', '5793', 'i', '707', 'p', 'n', 'j', 'p', 's', 'a', 'R', 'I', 'o', '5171', 'L', '8749', '5421', '2997', '9873', '7823', 'D', '5425', '7593', '2641', '8485', 'I', 'M', 'D']
Example Output:
5947, X, 4993, 5793, i, 707, p, n, j, p, s, a, R, I, o, 5171, L, 8749, 5421, 2997, 9873, 7823, D, 5425, 7593, 2641, 8485