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: ['w', 3897, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'P', 'C', 'z', 5141, 1751, 6731, 'r'], ['B', 8071, 703, 'G', 885, 'Z', 2391, 1749, 4177, 'U', 'a', '455', '6499', '8975', '9003', 'O', 'j', 'T', 'D', 8751, 'y', 2941]
Example Output: U, a, 455, 6499, 8975, 9003, O, j, T

Example Input: ['J', 'F', 'T', 5683, 'D', 'Z', 'G', '5921', '209', 'N', '1075', '5635', 'v', 'x', '5365', '5643', 'U', '9335', 'Z', 'a', 't', 9261, 2457, 5427, 'u'], ['t', 'L', 'B', 'C', 3079, 7271, 8443, 'S', 4967, 'G', '5921', '209', 'N', '1075', '5635', 'v', 'x', '5365', '5643', 'U', '9335', 'Z', 'm', 9305, 'L', 3821, 2851, 1031, 'X', 7741, 'W', 3551, 'n', 'Y']
Example Output:
G, 5921, 209, N, 1075, 5635, v, x, 5365, 5643, U, 9335, Z