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

Example Input: [2037, 'z', 'w', 7693, 'M', 'W', 'Y', 'G', 'U', 2483, 'l', 2629, 'F', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'A', 1945, 5937, 7887, 'j', 6615, 'O', 3925, 7455, 319, 'A', 6973], ['q', 'N', 'V', 'S', '6973', 'w', 'D', 'z', 'z', 'Y', 'm', '6417', '927', 'X', 'N', 'L', '6511', '8401', 'v', 'J', 'j', 'w']
Example Output: 6973, w, D, z, z, Y, m, 6417, 927, X, N, L, 6511, 8401

Example Input: [4249, 1307, 'R', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'H', 'K', 7197, 3907, 'I', 5561], [8961, 1477, 'X', 'C', 7153, 1005, 'C', '3377', '9383', 'w', '7897', 'S', '1791', 'f', '6787', 'L', 7313, 2449, 4181, 1573]
Example Output: 3377, 9383, w, 7897, S, 1791, f, 6787

Example Input: [3031, 5119, 5485, 5537, 7175, 'g', '9771', '273', 'p', 's', 'b', 'f', '3291', 'q', 'w', 'N', '5051', 'A', 6387, 'w', 'o', 'Z'], ['g', 'p', 'i', 'P', 7663, 8703, 8787, 'R', 3885, 'g', '9771', '273', 'p', 's', 'b', 'f', '3291', 'q', 'w', 'N', '5051', 'k', 7145, 819, 'F', 'O', 'O', 7995]
Example Output:
g, 9771, 273, p, s, b, f, 3291, q, w, N, 5051