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', 'H', 'i', 1013, 5655, 'y', 4853, 'Q', 1209, 'w', 'w', 'a', 'w', 7329, '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'i', 'w', 4131, 867, 'y', 3835, 'o', 't', 1181, 4425, 'P'], ['J', 4263, 'Z', 9575, 'W', 'h', 'j', 9697, 4711, 'D', 9269, 1163, 7659, 8523, 'f', 'W', 'L', 'h', 'i', '961', 'j', '1783', '7579', 'e', '6525', 'Y', 'K', 'P', '293', '4793', '7251', '531', '3813', '4103', 'o', '6039', '9175', '3041', 'p', 'D', 'u', '7075', 'G', 'n', 'i', 71]

Output: 961, j, 1783, 7579, e, 6525, Y, K, P, 293, 4793, 7251, 531, 3813, 4103, o, 6039, 9175, 3041, p, D, u, 7075, G

Input: Consider Input: ['P', 'S', 9171, 'k', 'W', 4523, 'Z', 4167, 'c', 1143, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'R', 'J', 'z', 'O', 'f', 2527, 7395, 'v', 6495, 9929, 'W', 8051], [9499, 't', 1453, 5771, 7923, 857, 359, 3273, 'a', 6789, '4943', '2193', '6839', '5745', 'N', '219', '9797', '8987', '9105', '1975', '3513', '81', 'D', 'n', 'h', 'f', 2835, 9965, 2423, 6015]

Output: 4943, 2193, 6839, 5745, N, 219, 9797, 8987, 9105, 1975, 3513, 81, D, n

Input: Consider Input: ['q', 7959, 'L', 'D', 1517, 5563, 'G', 2201, 'a', 5823, 'V', 8477, 8797, 4367, 5193, 'l', 8899, 'v', 211, 'c', 2805, 'M', 'A', 'z', 'l', '5851', 'C', 'l', 'q', '3537', '2585', 'W', '8637', '7519', 'X', 'g', '1439', 't', '6379', 'Q', 'F', 's', 'w', '9765', '7073', 'E', '8723', '607', '6467', '1699', 'K', 'V', 9201, 8221, 'b', 6381, 'L', 'J', 'E', 'J', 2727, 4721, 'C', 'A', 7451, 'E', 8883, 'J', 'A', 'H', 'z'], [7105, 9141, 4113, 'N', 9985, 'i', 9307, 7913, 2387, 6027, 5103, 7389, 'k', 'M', 'v', 'T', 'R', 1851, 8353, 'X', 'R', 6689, 1405, 4267, 'g', 'E', 4619, 'M', 'A', 'z', 'l', '5851', 'C', 'l', 'q', '3537', '2585', 'W', '8637', '7519', 'X', 'g', '1439', 't', '6379', 'Q', 'F', 's', 'w', '9765', '7073', 'E', '8723', '607', '6467', '1699', 'K', 'f', 2765, 'Y', 6497, 'b', 3945, 'V', 7705, 5273, 'f', 'Q', 3765, 'T', 'L', 5681]
Output: M, A, z, l, 5851, C, l, q, 3537, 2585, W, 8637, 7519, X, g, 1439, t, 6379, Q, F, s, w, 9765, 7073, E, 8723, 607, 6467, 1699, K