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

Example Input: ['X', 1863, 6105, 'n', 8419, 6469, 'u', 'p', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'B', 9885], ['l', 'L', 'S', 'p', 'j', '1641', '1413', '6389', '7069', '1333', 'q', '9609', 'D', '843', '2667', '223', '6689', 'F', 5539, 'C', 1383, 'n', 9991]
Example Output: 1641, 1413, 6389, 7069, 1333, q, 9609, D, 843, 2667, 223, 6689

Example Input: [8271, 'H', 'n', 1303, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'z', 'H', 'Z', 'R', 'Z', 17], [6877, 4677, 'A', 623, 'g', 151, 'u', 5045, 1867, 'E', 'M', 1153, 237, 4623, 4963, 'B', 'M', 8311, 6637, 'P', 'Z', '8927', 'S', 'Z', 'e', '3463', '5487', 'w', 'H', '1071', 'q', '7193', '2751', '1963', 'I', 'H', 'F', '6399', '1589', '1063', 'T', '9211', 'w', '9069', '5757', '2431', 'G', 'd', 4251, 'F', 'O', 'J', 4171, 7565, 'F', 9551, 4139]
Example Output: P, Z, 8927, S, Z, e, 3463, 5487, w, H, 1071, q, 7193, 2751, 1963, I, H, F, 6399, 1589, 1063, T, 9211, w, 9069, 5757, 2431, G

Example Input: ['t', 'C', 'I', 9727, 'z', 'Q', 8667, 3681, 337, 8637, 5437, 'A', 't', 5239, '2995', '1431', 'P', '5563', '9415', '2137', 'F', '2633', '975', 'P', 'H', 'V', '9861', 'r', 'N', 'L', 'L', 'G', 3993, 'I'], [7207, 1089, 3749, 'I', 5945, '2995', '1431', 'P', '5563', '9415', '2137', 'F', '2633', '975', 'P', 'H', 'V', '9861', 'r', 'N', 'L', 'L', 'r', 'c', 'x']
Example Output:
2995, 1431, P, 5563, 9415, 2137, F, 2633, 975, P, H, V, 9861, r, N, L, L