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

Example Input: [1001, 9417, '7135', 'q', 'C', '1417', 'x', '2263', 'F', 539, 5643, 1153, 5893, 'f'], [7791, 6635, 401, '7135', 'q', 'C', '1417', 'x', '2263', 'X', 8455]
Example Output: 7135, q, C, 1417, x, 2263

Example Input: ['f', 7061, 5371, 'F', 49, 999, 9071, 'O', 9627, 283, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'U', 2327, 'w', 7987, 9069, 'm', 'Q', 817, 'o'], ['N', 'j', 7227, 7051, 'D', 'b', 2645, 'l', 'g', 8699, 'a', 'u', 'r', 4215, 7499, 6595, 4001, 7107, 2799, 'q', '9151', 'a', 'E', '2865', '735', '5647', 'i', 'e', 'k', '4029', 'H', 'b', 'R', '3331', 'T', 'W', '7249', '4135', 'P', 'p', 'v', 4623, 4597, 387, 8861, 37, 'u', 4847, 7415, 8709, 5935]
Example Output: q, 9151, a, E, 2865, 735, 5647, i, e, k, 4029, H, b, R, 3331, T, W, 7249, 4135, P

Example Input: ['p', 5129, 'X', 'F', '3585', '43', '5519', '7605', 'o', 'I', '7323', 'F', 2323, 8127, 7667, 'x', 8685, 'g', 'e', 't'], ['N', 1331, 'v', 3109, 'a', 'C', 'X', 'F', '3585', '43', '5519', '7605', 'o', 'I', '7323', 'k', 'f', 1235, 2293, 2787, 'b', 'f', 'b']
Example Output:
X, F, 3585, 43, 5519, 7605, o, I, 7323