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

Example Input: ['L', 6265, 'o', 'B', 9743, 9139, 't', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'J', 8701, 'U', 'q', 'r', 8487, 'G', 'N', 'z', 3439, 'I', 'a', 639], ['X', 7305, 'k', 4911, 1119, 'S', 'F', 8665, 3167, 1117, 6267, 4025, 'S', 'h', '4107', '821', '9019', '5149', '7817', 'i', '787', 'G', 'b', 'g', 'g', 'j', '197', 'n', 'W', 'Z', '7081', '4487', '1439', '1117', 'K', 'O', '2241', 'H', 7485, 5635]
Example Output: 4107, 821, 9019, 5149, 7817, i, 787, G, b, g, g, j, 197, n, W, Z, 7081, 4487, 1439, 1117, K, O, 2241

Example Input: ['h', 'l', 2659, 5135, 4075, 'B', 'Z', 7075, '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'm', 5383, 'S', 8583, 3589, 'S'], [5819, 317, 1243, 6949, 3195, 'A', 'p', 'F', 'Z', 4825, 'U', '8385', 'I', '5937', 'N', 'H', '7143', '9643', '7171', 'z', 'c', 'A', '2163', 'Y', 'r', 7985, 'T', 'F', 3637, 'D', 2203, 6855, 'W', 'Z', 4121]
Example Output: 8385, I, 5937, N, H, 7143, 9643, 7171, z, c, A, 2163

Example Input: [713, 'd', 2545, 'u', 'c', 6431, 'g', 'y', 'J', 'I', 'g', 'X', 'V', 't', 'R', 'n', 'K', 'a', '2093', '5929', '853', 'g', 's', 'q', '1795', '75', '5073', '4799', 'z', '6829', '7865', '6801', 'f', 'b', 'W', '9629', 'V', '3931', 'P', 'I', '5783', 'n', 2505, 'e', 2921, 2225, 6179, 'm', 'w', 'f', 'W', 'n', 7341, 9499, 3049, 8795, 1955, 'R', 'o', 'q'], [7501, 9457, 'n', 'j', 'C', 9619, 'A', 4219, 'b', 9095, 'r', 't', 'S', 7701, 'n', 'e', 'a', 8347, 2867, 'S', 2889, 1863, '2093', '5929', '853', 'g', 's', 'q', '1795', '75', '5073', '4799', 'z', '6829', '7865', '6801', 'f', 'b', 'W', '9629', 'V', '3931', 'P', 'I', '5783', 'B', 'S', 3285, 1413, 'U', 2691, 6845, 1103, 6291, 7531, 6771, 9779, 5827, 7669, 8797, 5001, 'y', 9635, 1299]
Example Output:
2093, 5929, 853, g, s, q, 1795, 75, 5073, 4799, z, 6829, 7865, 6801, f, b, W, 9629, V, 3931, P, I, 5783