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

Example Input: ['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']
Example Output: 395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179

Example Input: ['x', 495, 'L', 'O', 2935, 'y', 163, 3507, 6515, '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'w', 1985, 'F', 'V', 5375, 6359, 7963, 4103, 2625, 'p', 'N', 7945, 'L', 6909], [251, 'J', 'k', 4075, 'd', 'x', 'j', 'K', 'u', 605, 1667, 8527, 6845, 2537, 'O', 9259, 'o', 'B', '5249', '9751', '8269', '923', '10005', '9739', 'u', 'X', 'y', '4535', 'I', 'V', 'f', '8511', '8955', 's', '2255', '1', '7831', 't', 'j', 'S', 'H', 1289]
Example Output: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t

Example Input: [7597, 6201, 'j', 'I', 'i', 99, 9227, 1075, 2215, 899, 'Y', '8993', 'd', 'R', 'J', 'm', 'W', 'j', 'G', 'F', 'U', 'Y', 'y', 'D', '2829', 'V', '4685', '5433', '3761', 'r', 'N', 1721, 'i', 'C', 3197, 'N', 2787, 9579, 'd', 4329, 7483], [4409, 't', 'v', 8609, 7903, 639, 7643, 3253, 1039, 'Y', '8993', 'd', 'R', 'J', 'm', 'W', 'j', 'G', 'F', 'U', 'Y', 'y', 'D', '2829', 'V', '4685', '5433', '3761', 'r', 'j', 'u', 'a', 'd', 3067]
Example Output:
Y, 8993, d, R, J, m, W, j, G, F, U, Y, y, D, 2829, V, 4685, 5433, 3761, r