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

Example Input: ['n', 'R', 'h', 'L', 1957, 4229, 8597, 'g', 7203, '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'f', 3093, 5017, 3929, 'A', 'M', 'J', 'n', 'v', 'm', 'k', 'G', 'N', 'G'], [8845, 6415, 'K', 4833, 2559, 6655, 6625, 'Q', 'F', 167, 'M', 'F', 2083, 6403, 'n', 1243, 7381, 6323, 7507, 'y', 'p', 'W', '5573', 'I', '4391', '8309', '9447', 'F', 'n', '9049', 'H', 'C', 'E', '5153', 'r', 'X', 'w', 's', 'm', '8763', '6167', 'a', 'z', '861', 'd', '9999', '4707', 'S', 'Q', 7251, 'U', 4743, 'Q', 'm', 6307, 6989, 'd', 'D', 'U', 'T', 'f', 9737, 'u']
Example Output: 5573, I, 4391, 8309, 9447, F, n, 9049, H, C, E, 5153, r, X, w, s, m, 8763, 6167, a, z, 861, d, 9999, 4707

Example Input: [4041, 'A', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'H', 4635, 7087, 8857, 1057, 1877, 'U', 'V', 7175, 'r', 4599], [801, 8323, 7503, 'U', 381, 'd', 'y', 453, 1687, 'R', '9609', 'E', 'r', 'd', 'u', 'S', '7397', '8573', '4893', 'T', 't', 'K', '7425', 'E', 'J', 'Q', 'U', '1407', '3419', '1193', 'H', '7525', 'j', 2559, 3465, 'C', 'I', 5493, 'X', 'r']
Example Output: 9609, E, r, d, u, S, 7397, 8573, 4893, T, t, K, 7425, E, J, Q, U, 1407, 3419, 1193, H, 7525

Example Input: [6951, 5063, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'z', 's', 5325, 'W', 4603, 'A'], ['H', 2041, 8481, 'B', 'G', 'S', 509, 117, 3045, 803, 3957, 9469, 4397, 'T', 3193, 9619, 'u', 'y', 'q', 'p', 'r', 8683, 'p', 'L', 5181, 3747, 's', 3145, 6079, 'D', '2121', '2709', 'L', '5457', '8809', '8771', 'S', '2283', 'Z', 'b', '3395', 'N', '9971', 'x', 'D', 'T', '2101', 'W', 'b', '6315', 'G', 'm', '8761', 'y', '1683', '9393', 'r', '6139', '6405', 'Q', 'd', 'q', 6139, 'I', 3349, 7979, 8847, 'J', 7575, 2601, 4181, 765, 'G', 'E', 'F', 'z', 4129]
Example Output:
D, 2121, 2709, L, 5457, 8809, 8771, S, 2283, Z, b, 3395, N, 9971, x, D, T, 2101, W, b, 6315, G, m, 8761, y, 1683, 9393, r, 6139, 6405