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

Example Input: ['Q', 4345, 'U', 6921, 'y', 57, 8287, 8385, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'X', 'V', 2801], [3259, 'S', 'e', 'n', 'c', 'B', 'O', 217, 'O', '3359', 'S', '7355', '2263', 'd', 'd', 'i', 't', 'E', 'j', 'I', 5767, 'X', 8283, 8895, 'd', 8329]
Example Output: O, 3359, S, 7355, 2263, d, d, i, t, E

Example Input: [7675, 6429, 'Y', 'J', '6533', 'o', '47', '6333', 'W', 'J'], [6609, 2621, '6533', 'o', '47', '6333', 'm', 'k', 2605, 'd']
Example Output: 6533, o, 47, 6333

Example Input: ['s', 5121, 'f', 'w', 'e', '1875', '7907', 'Q', 'o', 'Q', 'S', 'I'], ['F', 'R', 'P', 'T', 'w', 'e', '1875', '7907', 'Q', 'o', 'Z', 'Q', 7981, 'G', 't', 'S']
Example Output:
w, e, 1875, 7907, Q, o