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

Input: Consider Input: [8271, 'H', 'n', 1303, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'z', 'H', 'Z', 'R', 'Z', 17], [6877, 4677, 'A', 623, 'g', 151, 'u', 5045, 1867, 'E', 'M', 1153, 237, 4623, 4963, 'B', 'M', 8311, 6637, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'd', 4251, 'F', 'O', 'J', 4171, 7565, 'F', 9551, 4139]

Output: P, Z, 8927, S, Z, e, 3463, 5487, w, H, 1071, q, 7193, 2751, 1963, I, H, F, 6399, 1589, 1063, T, 9211, w, 9069, 5757, 2431, G


Input: Consider Input: [2785, 'M', 'd', 8001, 'z', 'G', 5661, 2853, 9397, 4757, 'b', 'f', 989, 'U', 'K', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'P', 'G', 'v', 4813, 'G', 6799, 9011, 'z', 4267], ['T', 'j', 'I', 6037, 'w', 'g', 3555, 9897, 9741, 5673, 5825, 407, 2157, 6461, 6095, 4477, 'Y', 'Y', 1773, 'N', 4151, 'j', 2911, 7543, 'b', '3583', '4559', '2581', 'n', 't', 's', '987', 'o', '5487', 'c', 'E', '4505', '6765', '8305', 'N', 's', '9393', 'q', 'r', '5487', '6365', '9377', 'M', '6661', '8579', '9899', 'x', '5739', 'C', 9075, 'j', 'o', 9087, 3137, 'G', 'j', 'p', 'd', 'N', 2085, 831, 1041, 1181, 'Y', 9409, 2267, 'q', 'w', 'w', 'O', 7523]

Output: 3583, 4559, 2581, n, t, s, 987, o, 5487, c, E, 4505, 6765, 8305, N, s, 9393, q, r, 5487, 6365, 9377, M, 6661, 8579, 9899, x, 5739


Input: Consider Input: [2315, 'y', 'Z', '1825', '8235', '785', '9287', 'k', 1605], [7655, 3263, 9657, '1825', '8235', '785', '9287', 'N', 3899, 'j', 't']


Output: 1825, 8235, 785, 9287