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

Input: Consider Input: ['X', 6431, 'O', '9101', 'l', 'D', 'Q', 'M', '8881', '9955', 'E', '2703', '8301', 'b', 'o', 'L', 'B', 'D', 8955, 's', 2393], ['D', 9287, 5103, 'r', 'm', '9101', 'l', 'D', 'Q', 'M', '8881', '9955', 'E', '2703', '8301', 'b', 'g', 'n', 'B', 6201, 1791, 6839, 'V', 'Z', 'h']

Output: 9101, l, D, Q, M, 8881, 9955, E, 2703, 8301, b

Input: Consider 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]

Output: 5249, 9751, 8269, 923, 10005, 9739, u, X, y, 4535, I, V, f, 8511, 8955, s, 2255, 1, 7831, t

Input: Consider Input: ['N', 's', 'B', 'x', 'G', 7281, 'j', 4995, 'D', 'T', 'm', '3845', 'u', 'Q', '5537', 'x', '9603', 'U', 'B', '4305', '5865', '1495', '1785', 'B', '7121', '2717', 'C', '6467', '5775', '5971', '4491', '8967', '5701', 'H', '2275', 'D', 'I', 8323, 6575], [4363, 9717, 3265, 'C', 6811, 'A', 'C', 719, 3297, 'K', 'm', '3845', 'u', 'Q', '5537', 'x', '9603', 'U', 'B', '4305', '5865', '1495', '1785', 'B', '7121', '2717', 'C', '6467', '5775', '5971', '4491', '8967', '5701', 'H', '2275', 'D', 'Y', 6465, 'O', 'K', 'h', 4819, 'L', 'm', 7909, 3173, 't', 'T', 2737, 'a', 7531, 'S', 'J', 'S', 2995, 's', 9857, 1925, 'm', 'q', 'h']
Output: m, 3845, u, Q, 5537, x, 9603, U, B, 4305, 5865, 1495, 1785, B, 7121, 2717, C, 6467, 5775, 5971, 4491, 8967, 5701, H, 2275, D