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

Example Input: [9779, 'C', 8839, 1257, 9375, 6513, 3027, 'c', 4415, 8523, 3873, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'Z', 993], ['H', 'e', 4231, 'R', 1623, 773, 2271, 'w', 'V', 8053, 3873, 'x', 'O', 'S', 311, '4225', '3367', 'c', 'f', '477', '7185', '6657', 'z', 'f', 'H', 'l', 'p', 'F', '7941', 'M', '4439', 'R', '9505', 's', 'R', 'x', 'w', 'v', 'F', 'L', 6355, 't', 1707, 'y', 2711, 'u', 5697]
Example Output: 4225, 3367, c, f, 477, 7185, 6657, z, f, H, l, p, F, 7941, M, 4439, R, 9505, s, R, x, w

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: [1575, 8661, 'h', 8439, 'x', '5733', '3329', 'q', 'w', 4485], ['s', 7671, 9051, 'x', '5733', '3329', 'q', 'v', 'O', 4689, 5107]
Example Output:
x, 5733, 3329, q