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

Example 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]
Example 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

Example Input: ['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']
Example Output: 5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353

Example Input: [9515, 9087, 2985, 981, 'W', 4783, 'N', 373, 5555, 'a', 'm', 1647, 2125, 'K', '879', 'p', '227', 'o', 'f', '9869', '2207', '7699', '4929', '861', 'E', 'm', 'N', '7669', 'E', 'V', '3695', '4337', '4717', 'X', '451', '4359', 'e', '7079', '9635', 'c', 'B', 8519, 4865, 7019, 'y', 'r', 2353, 4047, 4037, 3523, 951, 'Z'], ['K', 2035, 'A', 'G', 'a', 7757, 'S', 7165, 7331, 2789, 's', 9287, 'd', 983, '879', 'p', '227', 'o', 'f', '9869', '2207', '7699', '4929', '861', 'E', 'm', 'N', '7669', 'E', 'V', '3695', '4337', '4717', 'X', '451', '4359', 'e', '7079', '9635', 'c', 'N', 8325, 7779, 'f', 'V', 6701, 'Z', 6545, 2389, 4201, 8829, 'K', 9103, 'F', 'C', 3835, 8249, 'e', 567, 'i', 2605, 2201]
Example Output:
879, p, 227, o, f, 9869, 2207, 7699, 4929, 861, E, m, N, 7669, E, V, 3695, 4337, 4717, X, 451, 4359, e, 7079, 9635, c