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

Example Input: [2449, 'h', 'F', 2217, 'G', 2655, 'k', 'Y', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'q', 9553, 4023, 127], [849, 7901, 'd', '8427', '2933', 'x', '2689', '9305', 'L', '9263', '2671', 'r', 'A', 'F']
Example Output: 8427, 2933, x, 2689, 9305, L, 9263, 2671

Example Input: ['X', 6431, 'O', '9101', 'l', 'D', 'Q', 'M', '8881', '9955', 'E', '2703', '8301', 'b', 'o', 'L', 'B', 'D', 8955, 's', 2393], ['D', 9287, 5103, 'r', 'm', '9101', 'l', 'D', 'Q', 'M', '8881', '9955', 'E', '2703', '8301', 'b', 'g', 'n', 'B', 6201, 1791, 6839, 'V', 'Z', 'h']
Example Output: 9101, l, D, Q, M, 8881, 9955, E, 2703, 8301, b

Example Input: ['k', 'D', 'l', 5447, 1913, '8923', 'i', 'K', 'y', 'X', 'k', 's', 'p', 2515, 5609], ['r', 6977, 6873, '8923', 'i', 'K', 'y', 'X', 'k', 'v', 'c']
Example Output:
8923, i, K, y, X, k