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

Example Input: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]
Example Output: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695

Example Input: [443, 'w', 9731, 'M', 'N', 'P', '9231', 'j', 'H', '5851', 'F', 'W', 2301], ['Z', 1747, 6223, 'u', 1065, 'J', 'N', 'P', '9231', 'j', 'H', '5851', 'J', 5037, 9047]
Example Output: N, P, 9231, j, H, 5851

Example Input: [737, 3003, '8137', 'N', '9835', '2579', 'P', '4015', 'R', 'u', 'g', 'h', 'G', '9619', 'D', '2091', 'H', 'T', 'l', 3441], [6783, 'j', 'x', 2327, 3751, '8137', 'N', '9835', '2579', 'P', '4015', 'R', 'u', 'g', 'h', 'G', '9619', 'D', '2091', 'H', 't', 'y']
Example Output:
8137, N, 9835, 2579, P, 4015, R, u, g, h, G, 9619, D, 2091, H