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

Example Input: ['N', 'b', 'T', 5873, 'o', 'v', 6747, 1915, 953, '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'A', 'x', 'N', 4753, 'B', 1137, 'H', 'l', 'S', 5559, 8885, 373, 8291, 5213, 'K', 1901, 'g'], ['s', 4407, 2767, 'k', 6015, 7131, 'g', 'v', 6523, 9635, 8915, 6313, 'x', 'O', 9993, 'd', 'Y', 307, 'U', '5629', '7539', '1221', 'r', '4845', 'b', 'V', '2341', '6775', '2837', 'i', '4527', 'W', '3441', '2797', '8519', 'i', '9429', '10017', 'N', 'h', 'M', '7353', 'm', 'c', 3281, 2229, 'W', 1113, 169, 'k', 'R', 1277, 'c', 'L', 'q', 'Q', 'Q', 'C', 'Y', 'j']
Example Output: 5629, 7539, 1221, r, 4845, b, V, 2341, 6775, 2837, i, 4527, W, 3441, 2797, 8519, i, 9429, 10017, N, h, M, 7353

Example Input: [571, 969, 3069, 7455, 'g', 'Z', 237, 8231, 71, 'X', '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'C', 'R', 3217, 1445, 3493, 'Y', 'G', 6747, 751, 1347, 7337, 'Z'], ['z', 'U', 477, 'm', 'y', 7909, 413, 6315, 'v', 7173, 1403, 'F', 'M', 7559, 7589, 9021, 'U', 2859, '873', 'N', 'u', 'c', 'n', '759', 'p', 'I', '1007', 'O', 'V', '9137', 'G', '1727', '7437', 't', '8909', 'L', 'k', 3817, 'Q', 1165]
Example Output: 873, N, u, c, n, 759, p, I, 1007, O, V, 9137, G, 1727, 7437, t, 8909, L

Example Input: ['T', 857, 'e', 'O', 6825, 'w', 'F', 'Z', 1595, 'a', 2703, 'M', 'A', '8135', '6421', '8139', '515', '7107', 'M', '7191', '81', 'w', 'v', '7887', '2761', 'B', 'm', '3973', 'n', 'Q', 'C', 'K', 'n', 'a', 'X', 115, 6095, 9745, 45, 9477, 't', 'I', 'E', 2317, 'T', 6889, 3181, 1873, 'u', 5883, 1663], [9973, 'R', 4181, 2375, 1623, 8539, 369, 5313, 9393, 'I', 6983, 'd', 9925, 9981, 'p', 'C', 'd', 'X', 5445, 'M', 10005, 'A', '8135', '6421', '8139', '515', '7107', 'M', '7191', '81', 'w', 'v', '7887', '2761', 'B', 'm', '3973', 'n', 'Q', 'C', 'K', 'n', 'a', 'U', 2499, 'y']
Example Output:
A, 8135, 6421, 8139, 515, 7107, M, 7191, 81, w, v, 7887, 2761, B, m, 3973, n, Q, C, K, n, a