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

Example Input: [4163, 'p', 'Z', 'i', 'r', 9525, 'c', 'C', 'L', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'w', 6457, 'P', 1517, 6975, 2465, 'Y', 425, 'n', 375, 'O', 7707, 1105, 1985, 6149, 'l', 5761, 875, 4411], [2127, 9083, 'w', 'Z', 4071, 5347, 'r', 'J', 'L', '3441', 'W', '2257', '7885', '873', 'e', 'a', 'N', '2853', 'K', 'R', '5531', 'h', 'p', 'u', 'b', '6003', 'q', 'H', '6641', '9991', 'o', 'K', 1639, 'Z', 13, 'm', 'M', 'G', 'C', 353]
Example Output: J, L, 3441, W, 2257, 7885, 873, e, a, N, 2853, K, R, 5531, h, p, u, b, 6003, q, H, 6641, 9991

Example Input: [4717, 'J', 'B', 'f', 'a', 9035, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'F', 5099], ['Q', 3557, 'y', 2689, '3041', '491', '3395', '3117', '4793', '4305', 'c', 'k', 8835, 'C', 8979]
Example Output: 3041, 491, 3395, 3117, 4793, 4305, c

Example Input: ['W', 'c', 'I', 755, 5879, 'n', '4151', '6089', 'a', '7927', '7115', 'F', 'y', '2151', 'B', '201', 'Z', 'U', 'h', 9027, 3439, 'j', 4301, 9437, 1759, 997, 'K'], [8715, 8627, 'w', 3733, 'K', 4667, '4151', '6089', 'a', '7927', '7115', 'F', 'y', '2151', 'B', '201', 'Z', 'a', 8119, 'B']
Example Output:
4151, 6089, a, 7927, 7115, F, y, 2151, B, 201, Z