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

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

Example Input: [8507, 'H', 'o', 'N', 'r', 'I', 3733, 'r', 6877, 5193, 1389, 7105, '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'x', 3575, 'A', 7405, 'o', 'J', 6163, 'y', 'O', 'g', 7633, 'A', 6531, 4627, 'P', 'O', 'j', 'S', 'b', 'c', 'V', 7923, 'K', 'i', 5625, 893, 'V'], ['W', 'O', 6909, 'a', 1667, 'n', 'D', 'i', 7719, 4109, 4167, 4099, 5473, 'b', 'g', 'R', '8513', 'A', '5801', 'M', '1339', '6353', 'C', '3591', 'W', '7703', 'D', 'i', '1975', '9169', '7427', '8345', 'l', 'C', 'C', 'd', '7579', '1463', '8451', 'H', 'K', 'u', '8561', 'h', 'Z', 383, 2829, 5461, 1851, 'F', 'l', 981, 6545, 'v', 7707, 'W', 675, 'V', 'C', 599, 'd', 1967, 'X', 'y', 'B', 'K']
Example Output: 8513, A, 5801, M, 1339, 6353, C, 3591, W, 7703, D, i, 1975, 9169, 7427, 8345, l, C, C, d, 7579, 1463, 8451, H, K, u, 8561

Example Input: ['S', 2505, 8699, 5651, 'S', 'f', 't', 'F', 'z', 'f', 'x', '577', '325', 'U', 'J', 'h', 5897, 4983, 5603], ['y', 'R', 't', 'F', 'z', 'f', 'x', '577', '325', 'U', 'J', 'E', 'S', 'W', 3625, 'Q']
Example Output:
t, F, z, f, x, 577, 325, U, J