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

Example Input: [7045, 'e', 3545, 6563, '5913', 'X', '5591', 'o', 'T', 'b'], [145, 'm', 'I', 'F', '5913', 'X', '5591', 'o', 'F', 6499, 3777]
Example Output: 5913, X, 5591, o

Example Input: ['L', 'V', 5597, 1661, 'x', 'M', 3901, 'Y', 7525, 'r', 'P', 3031, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'y', 9635, 9141, 't', 7363, 1359, 'H', 5619], [6813, 7119, 'b', 'y', '951', 'E', 'Q', 'n', '5797', '6551', '7545', '523', '6555', '3247', '1875', '5', '2955', 'w', 2701, 'f', 9769, 6265, 6111, 'n', 5757, 915, 1583, 'N']
Example Output: b, y, 951, E, Q, n, 5797, 6551, 7545, 523, 6555, 3247, 1875, 5, 2955

Example Input: ['d', 195, 'x', 'l', 3193, 'J', '6797', '7377', '2375', 'j', 'J', '475', '1135', '7529', '4789', 'b', 'R', '3983', 'l', '4351', 'T', 'X', 6165, 'B', 'u', 'n', 4129, 'L'], ['V', 9375, 10005, 'i', 1713, 'k', 7725, 'y', 4437, 7981, 2025, 'J', '6797', '7377', '2375', 'j', 'J', '475', '1135', '7529', '4789', 'b', 'R', '3983', 'l', '4351', 'T', 'e', 'z', 6823, 8949, 8911, 7891, 'l', 81, 4069, 3995, 1191, 'V', 'I', 'L']
Example Output:
J, 6797, 7377, 2375, j, J, 475, 1135, 7529, 4789, b, R, 3983, l, 4351, T