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: ['L', 'B', 'j', 5005, 1135, 6853, '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'i', 9785, 't', 'G', 'r', 'w', 'B', 3093], ['z', 'm', 'J', '395', '4543', '2301', 'B', '9275', '7891', '9083', '5417', '7543', '8291', '2655', 'm', 'g', '7981', '5703', '1179', 'D', 5163, 4649, 6219, 3227, 6101, 'y', 'K', 'W', 2233, 'n']
Example Output: 395, 4543, 2301, B, 9275, 7891, 9083, 5417, 7543, 8291, 2655, m, g, 7981, 5703, 1179

Example Input: [7617, 5003, 1065, 'M', 'j', '1', 'I', 'n', 'F', 2241, 'K', 'r', 6135], [2905, 4585, 9321, 'M', 'j', '1', 'I', 'n', 'O', 9589]
Example Output:
M, j, 1, I, n