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

Example Input: ['H', 191, 5269, 'I', 8869, 'N', 9617, 7679, 'C', '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'i', 'm', 'L', 5561], ['x', 2143, 2583, 'l', 781, 'i', 67, 7861, 'q', 7467, 8599, '9103', '905', 'N', 'n', 'E', '1397', '1061', '4683', 'x', '5823', 'w', 'F', 'y', 'G', 1961, 'V', 'B', 877, 'J', 6495, 3531]
Example Output: 9103, 905, N, n, E, 1397, 1061, 4683, x, 5823, w, F

Example Input: [5911, 'u', 6309, 9397, 9345, 7997, 'U', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'R', 'Z', 6167, 8919, 'M', 2389, 1105, 5255], ['d', 'F', 'w', 'q', '7585', '3117', '4453', '3581', 'O', 'j', '3815', 'i', 'h', '1507', '3615', 'f', 'f', '2177', '3449', '1243', '5695', 'e', 't', 8685, 'R', 'J', 5015, 8735, 'W', 5913]
Example Output: w, q, 7585, 3117, 4453, 3581, O, j, 3815, i, h, 1507, 3615, f, f, 2177, 3449, 1243, 5695

Example Input: ['l', 'd', 'B', 'H', '3957', '4097', '4137', 'Z', '873', '243', '741', 'p', 'h', 'X', '3561', 'o', 'Z', 'i', 7685, 9915, 'n', 'Q'], [9985, 6069, 1255, 5287, 2823, 'k', 'M', 1797, 6871, '3957', '4097', '4137', 'Z', '873', '243', '741', 'p', 'h', 'X', '3561', 'l', 2067, 2913, 75, 3967]
Example Output:
3957, 4097, 4137, Z, 873, 243, 741, p, h, X, 3561